Borderou de evaluare (job #1472600)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.in","r",stdin);
^
user.cpp:57:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sobo.out","w",stdout);
^
user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&l);
^
user.cpp:61:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",s+1);
^
user.cpp:67:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= l; i++) scanf("%lld",&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | Cool! | 10 |
2 | 0ms | 456kb | Cool! | 10 |
3 | 0ms | 460kb | Cool! | 10 |
4 | 68ms | 464kb | Cool! | 10 |
5 | 4ms | 492kb | Cool! | 10 |
6 | 12ms | 512kb | Cool! | 10 |
7 | 8ms | 552kb | Cool! | 10 |
8 | 12ms | 576kb | Cool! | 10 |
9 | 52ms | 648kb | Cool! | 10 |
10 | 20ms | 608kb | Cool! | 10 |
Punctaj total | 100 |