Borderou de evaluare (job #773813)

Utilizator avatar popescu_george Popescu George popescu_george IP ascuns
Problemă Cezar (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 13 apr. 2024 09:29:43 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:7:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | for(freopen("cezar.in","r",stdin),freopen("cezar.out","w",stdout);fgets(s,50000,stdin);printf("%s",s)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ main.cpp:7:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 7 | for(freopen("cezar.in","r",stdin),freopen("cezar.out","w",stdout);fgets(s,50000,stdin);printf("%s",s)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 241 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 237 kb OK 10
8 1 ms 147 kb OK 10
9 19 ms 409 kb OK 10
10 19 ms 458 kb OK 10
Punctaj total 100