Pagini recente » Borderou de evaluare (job #1653938) | Borderou de evaluare (job #1982010) | Borderou de evaluare (job #1631985) | Borderou de evaluare (job #914711) | Borderou de evaluare (job #1471577)
Borderou de evaluare (job #1471577)
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:95:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=1;j<wh[i].size();j++) {
^
user.cpp:106:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",ans);
^
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 | 504kb | OK | 10 |
| 3 | 0ms | 588kb | OK | 10 |
| 4 | 60ms | 4316kb | Incorect | 0 |
| 5 | 156ms | 8328kb | Incorect | 0 |
| 6 | 164ms | 8616kb | Incorect | 0 |
| 7 | Depăşit | 16628kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 16508kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 16388kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 16628kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |