Pagini recente » Borderou de evaluare (job #2870675) | Borderou de evaluare (job #2834533) | Borderou de evaluare (job #2830362) | Borderou de evaluare (job #968344) | Borderou de evaluare (job #2290344)
Borderou de evaluare (job #2290344)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
main.cpp:13:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
main.cpp:26:12: warning: 'pmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d", smax, pmax + 1, max + 1);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:26:12: warning: 'max' 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 | 3ms | 131kb | OK | 5 |
| 6 | 5ms | 131kb | OK | 5 |
| 7 | 8ms | 131kb | OK | 5 |
| 8 | 10ms | 131kb | OK | 5 |
| 9 | 32ms | 131kb | OK | 5 |
| 10 | 63ms | 131kb | OK | 5 |
| 11 | 116ms | 131kb | OK | 5 |
| 12 | 179ms | 131kb | OK | 5 |
| 13 | 223ms | 131kb | OK | 5 |
| 14 | 283ms | 262kb | OK | 5 |
| 15 | 1124ms | 131kb | OK | 5 |
| 16 | 1480ms | 131kb | OK | 5 |
| 17 | 1205ms | 262kb | OK | 5 |
| 18 | 1564ms | 167kb | OK | 5 |
| 19 | 1603ms | 131kb | Time limit exceeded | 0 |
| 20 | 1600ms | 131kb | Time limit exceeded | 0 |
| Punctaj total | 90 |