Borderou de evaluare (job #579333)

Utilizator avatar mhb_4 Mihai Boanta mhb_4 IP ascuns
Problemă Alfanumeric (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 23 ian. 2021 16:39:07 Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:25:24: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 25 | fprintf(fout, "\n%ld", s); | ~~^ ~ | | | | | int | long int | %d main.cpp:10:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 10 | fscanf(fin, "%d\n", &n); | ~~~~~~^~~~~~~~~~~~~~~~~ main.cpp:14:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 14 | fscanf(fin, "%c ", &c); | ~~~~~~^~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb OK 10
2 1 ms 262 kb Incorect 0
3 1 ms 262 kb OK 10
4 1 ms 262 kb OK 10
5 1 ms 262 kb OK 10
6 1 ms 262 kb Incorect 0
7 1 ms 262 kb OK 10
8 31 ms 262 kb OK 10
9 108 ms 520 kb Memory limit exceeded 0
10 119 ms 520 kb Memory limit exceeded 0
Punctaj total 60