Pagini recente » Borderou de evaluare (job #1638113) | Borderou de evaluare (job #2971360) | Borderou de evaluare (job #814803) | Borderou de evaluare (job #3203275) | Borderou de evaluare (job #2150597)
Borderou de evaluare (job #2150597)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50: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:52: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:53: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:55:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:58:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cost[i]);
^
user.cpp:61:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &cnt);
^
user.cpp:64: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 | 1260kb | OK! | 10 |
2 | 0ms | 1256kb | Gresit! | 3 |
3 | 0ms | 1256kb | Gresit! | 0 |
4 | 0ms | 1252kb | Gresit! | 3 |
5 | Depăşit | 1188kb | Time limit exceeded. | 0 |
6 | Depăşit | 1192kb | Time limit exceeded. | 0 |
7 | 0ms | 1252kb | A doua valoare gresita! | 7 |
8 | Depăşit | 1164kb | Time limit exceeded. | 0 |
9 | Depăşit | 1160kb | Time limit exceeded. | 0 |
10 | 0ms | 1256kb | A doua valoare gresita! | 7 |
Punctaj total | 30 |