Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2775398)
| Utilizator | Data | 15 septembrie 2021 17:15:57 | |
|---|---|---|---|
| Problema | Magic2 | Status | done |
| Runda | Arhiva de probleme | Compilator | c-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:46:24: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
else if(u[j]==2&&v[i]==2)
^
main.c:29:15: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(b[i]!=z&&d[j]!=z)
^
main.c:6:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("magic2.in","r",stdin),freopen("magic2.out","w",stdout),scanf("%d",&n);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:6:36: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("magic2.in","r",stdin),freopen("magic2.out","w",stdout),scanf("%d",&n);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:6:69: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
freopen("magic2.in","r",stdin),freopen("magic2.out","w",stdout),scanf("%d",&n);
^~~~~~~~~~~~~~
main.c:9:13: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]),l[i]+=a[i][j],c[j]+=a[i][j];
^~~~~~~~~~~~~~~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | OK | 10 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 2ms | 131kb | OK | 10 |
| 9 | 5ms | 262kb | OK | 10 |
| 10 | 5ms | 262kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
