Pagini recente » Borderou de evaluare (job #2644396) | Borderou de evaluare (job #709687) | Borderou de evaluare (job #2776673) | Borderou de evaluare (job #3166360) | Borderou de evaluare (job #2554138)
Borderou de evaluare (job #2554138)
Raport evaluator
Compilare:
main.cpp: In function 'int calcCost(int)':
main.cpp:37:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(i=0; i<=3; ++i)
^~~
main.cpp:56:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(!ok)
^~
main.cpp: In function 'int main()':
main.cpp:65:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &cerinta);
^
main.cpp:69:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n,&G);
^
main.cpp:72:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i][j]);
^
main.cpp:77:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
main.cpp:81:44: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | OK | 5 |
4 | 5ms | 524kb | OK | 5 |
5 | 8ms | 655kb | OK | 5 |
6 | 16ms | 917kb | OK | 5 |
7 | 28ms | 1179kb | OK | 5 |
8 | 76ms | 2359kb | OK | 5 |
9 | 88ms | 2097kb | OK | 5 |
10 | 101ms | 2228kb | OK | 5 |
11 | 98ms | 2359kb | OK | 5 |
12 | 2ms | 131kb | OK | 5 |
13 | 5ms | 393kb | OK | 5 |
14 | 23ms | 786kb | OK | 5 |
15 | 41ms | 1310kb | OK | 5 |
16 | 85ms | 1835kb | OK | 5 |
17 | 61ms | 1572kb | OK | 5 |
18 | 162ms | 2359kb | OK | 5 |
19 | 162ms | 2752kb | OK | 5 |
20 | 226ms | 2228kb | OK | 5 |
Punctaj total | 100 |