Borderou de evaluare (job #1471579)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(wh[last].size()!=0)
^
user.cpp:93:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=1;j<wh[i].size();j++) {
^
user.cpp:50:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("psir.in","r",stdin);
^
user.cpp:51:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("psir.out","w",stdout);
^
user.cpp:53:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:54:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 0ms | 508kb | OK | 10 |
3 | 0ms | 592kb | OK | 10 |
4 | 56ms | 4320kb | OK | 10 |
5 | 156ms | 8332kb | OK | 10 |
6 | 164ms | 8620kb | OK | 10 |
7 | Depăşit | 16388kb | Time limit exceeded. | 0 |
8 | Depăşit | 16508kb | Time limit exceeded. | 0 |
9 | Depăşit | 16628kb | Time limit exceeded. | 0 |
10 | Depăşit | 16384kb | Time limit exceeded. | 0 |
Punctaj total | 60 |