Pagini recente » Borderou de evaluare (job #1170407) | Cod sursa (job #2895818) | Matrice 3 | Cod sursa (job #596206) | Borderou de evaluare (job #1477770)
Borderou de evaluare (job #1477770)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in", "r", stdin);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:14:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &anc[i][0]);
^
user.cpp: In function ‘void print()’:
user.cpp:22:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out", "w", stdout);
^
user.cpp:25:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &q, &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK! | 10 |
| 2 | 0ms | 312kb | OK! | 10 |
| 3 | 4ms | 340kb | OK! | 10 |
| 4 | 12ms | 996kb | OK! | 10 |
| 5 | 20ms | 1004kb | OK! | 10 |
| 6 | 80ms | 2640kb | OK! | 10 |
| 7 | 124ms | 5124kb | OK! | 10 |
| 8 | 200ms | 7688kb | OK! | 10 |
| 9 | 648ms | 15100kb | OK! | 10 |
| 10 | 684ms | 18812kb | OK! | 10 |
| Punctaj total | 100 |