Pagini recente » Borderou de evaluare (job #342147) | Borderou de evaluare (job #1661594) | Borderou de evaluare (job #366603) | Borderou de evaluare (job #1264209) | Borderou de evaluare (job #2498165)
Borderou de evaluare (job #2498165)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10: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);
^
main.cpp:11: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);
^
main.cpp:12:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:13:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=n; ++i) scanf("%lld", &cost[i]);
^
main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
main.cpp:17:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 5ms | 262kb | OK! | 10 |
6 | 5ms | 262kb | OK! | 10 |
7 | 2ms | 131kb | OK! | 10 |
8 | 3ms | 131kb | OK! | 10 |
9 | 3ms | 131kb | OK! | 10 |
10 | 2ms | 131kb | OK! | 10 |
Punctaj total | 100 |