Pagini recente » Borderou de evaluare (job #935040) | Borderou de evaluare (job #677078) | Borderou de evaluare (job #708418) | Borderou de evaluare (job #1209645) | Borderou de evaluare (job #1375565)
Borderou de evaluare (job #1375565)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while (b[a[s]]==0 || (b[a[s]]==1) && (fr[a[s]]>1)) --fr[a[s++]];
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.in","r",stdin);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("panouri.out","w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:15:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 300kb | OK | 10 |
| 3 | 0ms | 312kb | OK | 10 |
| 4 | 0ms | 328kb | OK | 10 |
| 5 | 0ms | 328kb | OK | 10 |
| 6 | 4ms | 288kb | Wall time limit exceeded. | 0 |
| 7 | 4ms | 292kb | Wall time limit exceeded. | 0 |
| 8 | 4ms | 284kb | Wall time limit exceeded. | 0 |
| 9 | 4ms | 292kb | Wall time limit exceeded. | 0 |
| 10 | 4ms | 284kb | Wall time limit exceeded. | 0 |
| Punctaj total | 50 |