Borderou de evaluare (job #1472599)
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 <= n; i++) scanf("%lld",&cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | Cool! | 10 |
2 | 0ms | 456kb | Urat.. urat de tot: raspuns gresit | 0 |
3 | Depăşit | 416kb | Time limit exceeded. | 0 |
4 | Depăşit | 428kb | Time limit exceeded. | 0 |
5 | Depăşit | 444kb | Time limit exceeded. | 0 |
6 | Depăşit | 460kb | Time limit exceeded. | 0 |
7 | Depăşit | 448kb | Time limit exceeded. | 0 |
8 | Depăşit | 436kb | Time limit exceeded. | 0 |
9 | Depăşit | 492kb | Time limit exceeded. | 0 |
10 | Depăşit | 440kb | Time limit exceeded. | 0 |
Punctaj total | 10 |