Pagini recente » Borderou de evaluare (job #1473180) | Borderou de evaluare (job #2951693) | Borderou de evaluare (job #1559626) | Borderou de evaluare (job #1156057) | Borderou de evaluare (job #2150600)
Borderou de evaluare (job #2150600)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35: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:37: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:38: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:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:43:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:46:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cnt);
^
user.cpp:49: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 | 1256kb | OK! | 10 |
2 | 0ms | 1256kb | 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 | A doua valoare gresita! | 7 |
8 | Depăşit | 1164kb | Time limit exceeded. | 0 |
9 | Depăşit | 1164kb | Time limit exceeded. | 0 |
10 | 0ms | 1256kb | A doua valoare gresita! | 7 |
Punctaj total | 40 |