Pagini recente » Borderou de evaluare (job #1516457) | Cod sursa (job #970571) | Cod sursa (job #1531255) | Monitorul de evaluare | Borderou de evaluare (job #2150721)
Borderou de evaluare (job #2150721)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carici.in", "r", stdin);
^
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in", "r", stdin);
^
user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out", "w", stdout);
^
user.cpp:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:52:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:55:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cnt);
^
user.cpp:59:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dep);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1252kb | OK! | 10 |
| 2 | 0ms | 1252kb | Gresit! | 3 |
| 3 | 0ms | 1260kb | OK! | 10 |
| 4 | 0ms | 1256kb | Gresit! | 3 |
| 5 | Depăşit | 1184kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 1188kb | Time limit exceeded. | 0 |
| 7 | 0ms | 1256kb | OK! | 10 |
| 8 | Depăşit | 1164kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1168kb | Time limit exceeded. | 0 |
| 10 | 0ms | 1256kb | OK! | 10 |
| Punctaj total | 46 |