Pagini recente » Borderou de evaluare (job #381732) | Borderou de evaluare (job #2048733) | Borderou de evaluare (job #1806985) | Borderou de evaluare (job #1880881) | Borderou de evaluare (job #2128633)
Borderou de evaluare (job #2128633)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:32: 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:39:34: 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:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:43:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
user.cpp:49:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:54:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1320kb | OK! | 10 |
2 | 0ms | 1324kb | OK! | 10 |
3 | 0ms | 1328kb | Gresit! | 0 |
4 | 0ms | 1320kb | OK! | 10 |
5 | 0ms | 1380kb | OK! | 10 |
6 | 0ms | 1384kb | Gresit! | 0 |
7 | 0ms | 1324kb | Gresit! | 0 |
8 | 0ms | 1332kb | Gresit! | 0 |
9 | 0ms | 1336kb | Gresit! | 0 |
10 | 0ms | 1320kb | OK! | 10 |
Punctaj total | 50 |