Borderou de evaluare (job #814481)

Utilizator avatar DragonulCosmic Nerdvana 5 Calin Dragos Andrei DragonulCosmic IP ascuns
Problemă Goe (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 13 mar. 2025 15:38:53 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 8 | fscanf(fin, "%d%d%d", &k, &p, &n); | ~^ ~~ | | | | int * long long int * | %lld main.c:8:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 8 | fscanf(fin, "%d%d%d", &k, &p, &n); | ~^ ~~ | | | | int * long long int * | %lld main.c:8:23: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long int *' [-Wformat=] 8 | fscanf(fin, "%d%d%d", &k, &p, &n); | ~^ ~~ | | | | int * long long int * | %lld main.c:48:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 48 | fprintf(fout, "%d\n%d\n%d", a, b, cnt); | ~^ ~ | | | | int long long int | %lld main.c:48:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 48 | fprintf(fout, "%d\n%d\n%d", a, b, cnt); | ~^ ~ | | | | int long long int | %lld main.c:48:29: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=] 48 | fprintf(fout, "%d\n%d\n%d", a, b, cnt); | ~^ ~~~ | | | | int long long int | %lld main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin, "%d%d%d", &k, &p, &n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1009 ms 249 kb Time limit exceeded 0
2 1009 ms 245 kb Time limit exceeded 0
3 1008 ms 512 kb Time limit exceeded 0
4 1009 ms 270 kb Time limit exceeded 0
5 1009 ms 270 kb Time limit exceeded 0
6 1009 ms 249 kb Time limit exceeded 0
7 1009 ms 249 kb Time limit exceeded 0
8 1009 ms 249 kb Time limit exceeded 0
9 1009 ms 270 kb Time limit exceeded 0
10 1009 ms 249 kb Time limit exceeded 0
Punctaj total 0