Pagini recente » Borderou de evaluare (job #266590) | Borderou de evaluare (job #2558592) | Borderou de evaluare (job #1322734) | Borderou de evaluare (job #1853356) | Borderou de evaluare (job #2451544)
Borderou de evaluare (job #2451544)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:21:44: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
while ( j < BSIZE && ( buf[j] >= '0' && buf[j] <= '9' || buf[j] == '-' ) ) {
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
main.c:12:3: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d ", &n );
^~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread( buf, 1, BSIZE, fin );
^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:57:3: warning: 'i3' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf( fout, "%lld %d %d", max, i3 + 1, j + 1 );
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:57:3: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 4ms | 131kb | OK | 5 |
| 6 | 5ms | 131kb | OK | 5 |
| 7 | 8ms | 262kb | OK | 5 |
| 8 | 12ms | 262kb | Incorect | 0 |
| 9 | 34ms | 524kb | Incorect | 0 |
| 10 | 72ms | 917kb | Incorect | 0 |
| 11 | 134ms | 1703kb | Incorect | 0 |
| 12 | 179ms | 2490kb | Incorect | 0 |
| 13 | 257ms | 3407kb | Incorect | 0 |
| 14 | 313ms | 4194kb | Incorect | 0 |
| 15 | 1290ms | 20185kb | Incorect | 0 |
| 16 | 1603ms | 22151kb | Time limit exceeded | 0 |
| 17 | 1603ms | 22151kb | Time limit exceeded | 0 |
| 18 | 1540ms | 24248kb | Incorect | 0 |
| 19 | 1519ms | 24154kb | Incorect | 0 |
| 20 | 1603ms | 24117kb | Time limit exceeded | 0 |
| Punctaj total | 35 |