Pagini recente » Cod sursa (job #569151) | Coding Cotest Byte: The Square Root Trick | Borderou de evaluare (job #1072098) | Cod sursa (job #296801) | Borderou de evaluare (job #1932221)
Borderou de evaluare (job #1932221)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:147: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:178: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:183: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:188: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:191: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 | 256kb | OK | 10 | 10 |
| 3 | 4ms | 260kb | OK | 10 | 10 |
| 4 | 396ms | 1092kb | OK | 10 | 10 |
| 5 | 496ms | 1072kb | OK | 10 | 10 |
| 6 | Depăşit | 544kb | Time limit exceeded. | 0 | 0 |
| 7 | 528ms | 984kb | OK | 10 |
| 8 | 616ms | 1008kb | OK | 10 |
| 9 | Depăşit | 872kb | Time limit exceeded. | 0 |
| 10 | 572ms | 1028kb | OK | 10 | 10 |
| Punctaj total | 50 |