Pagini recente »
Borderou de evaluare (job #191289)
|
Borderou de evaluare (job #544645)
|
Borderou de evaluare (job #783581)
Borderou de evaluare (job #783581)
Raport evaluator
Compilare:
main.cpp: In function 'int compar(char*, int, char*, int)':
main.cpp:73:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
73 | for (i=0; i<lga && a[i]==b[i]; i++);
| ^~~
main.cpp:74:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
74 | if (i==lga)
| ^~
main.cpp: In function 'int main()':
main.cpp:17:15: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d%d ",&cer,&n);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:20:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin,"%d",&d);
| ~~~~~~^~~~~~~~~~~~~
main.cpp:27:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
27 | fscanf(fin,"%d", &nr);
| ~~~~~~^~~~~~~~~~~~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
1 ms
|
233 kb
|
OK
|
5
|
|
4
|
9 ms
|
167 kb
|
OK
|
5
|
|
5
|
1 ms
|
245 kb
|
OK
|
5
|
|
6
|
9 ms
|
172 kb
|
OK
|
5
|
|
7
|
1 ms
|
245 kb
|
OK
|
5
|
|
8
|
1 ms
|
245 kb
|
OK
|
5
|
|
9
|
1 ms
|
245 kb
|
OK
|
5
|
|
10
|
1 ms
|
245 kb
|
OK
|
5
|
|
11
|
1 ms
|
245 kb
|
OK
|
5
|
|
12
|
1 ms
|
241 kb
|
OK
|
5
|
|
13
|
1 ms
|
245 kb
|
OK
|
5
|
|
14
|
1 ms
|
241 kb
|
OK
|
5
|
|
15
|
1 ms
|
262 kb
|
OK
|
5
|
|
16
|
1 ms
|
249 kb
|
OK
|
5
|
|
17
|
9 ms
|
176 kb
|
OK
|
5
|
|
18
|
9 ms
|
417 kb
|
OK
|
5
|
|
19
|
9 ms
|
430 kb
|
OK
|
5
|
|
20
|
9 ms
|
430 kb
|
OK
|
5
|
|
Punctaj total
|
100
|