Borderou de evaluare (job #603647)

Utilizator avatar ghica_amalia Ghica Amalia ghica_amalia IP ascuns
Problemă Abc 1 (clasa a 9-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 13 aug. 2021 12:47:03 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 10 | fscanf(fin, "%d%d%d" , &a , &b , &c); | ~^ ~~ | | | | int * long long int * | %lld main.c:10:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 10 | fscanf(fin, "%d%d%d" , &a , &b , &c); | ~^ ~~ | | | | int * long long int * | %lld main.c:10:23: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=] 10 | fscanf(fin, "%d%d%d" , &a , &b , &c); | ~^ ~~ | | | | int * long long int * | %lld main.c:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for(j = 1; j< c; j++) | ^~~ main.c:15:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 15 | u = b % 10; | ^ main.c:18:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 18 | fprintf(fout, "%d" , a); | ~^ ~ | | | | int long long int | %lld main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d%d%d" , &a , &b , &c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb Incorect 0
2 1 ms 131 kb Incorect 0
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
Punctaj total 0