Pagini recente » Borderou de evaluare (job #2890433) | Borderou de evaluare (job #3017112) | Borderou de evaluare (job #196195) | Borderou de evaluare (job #518847) | Borderou de evaluare (job #2290336)
Borderou de evaluare (job #2290336)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:13: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:21: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:47:12: warning: 'pmax' may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(fout, "%d %d %d", smax, pmax + 1, max + 1);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:47:12: warning: 'max' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 10ms | 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 | 11ms | 131kb | OK | 5 |
| 9 | 30ms | 131kb | OK | 5 |
| 10 | 68ms | 131kb | OK | 5 |
| 11 | 131ms | 131kb | OK | 5 |
| 12 | 175ms | 262kb | OK | 5 |
| 13 | 244ms | 131kb | OK | 5 |
| 14 | 273ms | 131kb | OK | 5 |
| 15 | 1093ms | 131kb | OK | 5 |
| 16 | 1563ms | 131kb | OK | 5 |
| 17 | 1182ms | 131kb | OK | 5 |
| 18 | 1418ms | 167kb | OK | 5 |
| 19 | 1554ms | 131kb | OK | 5 |
| 20 | 1291ms | 131kb | OK | 5 |
| Punctaj total | 100 |