Pagini recente » Borderou de evaluare (job #713027) | Borderou de evaluare (job #942598) | Borderou de evaluare (job #1426838) | Borderou de evaluare (job #1127748) | Borderou de evaluare (job #2106067)
Borderou de evaluare (job #2106067)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum2.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drum2.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=m;i++) scanf("%d",&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 384kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 0ms | 448kb | OK | 10 |
6 | 0ms | 472kb | OK | 10 |
7 | 0ms | 480kb | OK | 10 |
8 | 0ms | 496kb | OK | 10 |
9 | 0ms | 504kb | OK | 10 |
10 | 0ms | 348kb | OK | 10 |
Punctaj total | 100 |