Borderou de evaluare (job #801967)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Imprimanta (clasa a 6-a) Compilator c-32
Rundă Christmas Gift Status evaluat
Dată 31 dec. 2024 11:25:26 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:10:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 10 | fscanf(fin,"%d%d",&k,&a); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:10:20: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 10 | fscanf(fin,"%d%d",&k,&a); | ~^ ~~ | | | | int * long long int * | %lld main.c:23:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 23 | fprintf(fout,"%d\n",nr); | ~^ ~~ | | | | 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",&k,&a); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:7:31: warning: 'nr' may be used uninitialized [-Wmaybe-uninitialized] 7 | long long i, mn=14, k, a, nr; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 309 ms 126 kb Time limit exceeded 0
2 306 ms 118 kb Time limit exceeded 0
3 309 ms 356 kb Time limit exceeded 0
4 309 ms 114 kb Time limit exceeded 0
5 309 ms 294 kb Time limit exceeded 0
6 309 ms 303 kb Time limit exceeded 0
7 304 ms 360 kb Time limit exceeded 0
8 309 ms 135 kb Time limit exceeded 0
9 309 ms 126 kb Time limit exceeded 0
10 306 ms 172 kb Time limit exceeded 0
Punctaj total 0