Borderou de evaluare (job #1932205)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:157:26: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while(i <= n && ch[i].r < sf[j].r || (ch[i].r == sf[j].r && ch[i].x < sf[j].x))
^
user.cpp: In function ‘void readFile()’:
user.cpp:193:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &t);
^
user.cpp:198:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d", &n, &m, &k);
^
user.cpp:203:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &ch[i].r, &ch[i].x);
^
user.cpp:206:50: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d", &sf[i].r, &sf[i].x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 264kb | Incorect | 0 | 0 |
2 | 4ms | 268kb | OK | 10 | 10 |
3 | 4ms | 268kb | OK | 10 | 10 |
4 | 408ms | 1456kb | OK | 10 | 10 |
5 | 496ms | 1720kb | OK | 10 | 10 |
6 | 256ms | 5724kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 536ms | 1224kb | OK | 10 |
8 | 620ms | 1252kb | OK | 10 |
9 | 236ms | 5720kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 580ms | 1272kb | OK | 10 | 10 |
Punctaj total | 50 |