Pagini recente » Borderou de evaluare (job #1762105) | Borderou de evaluare (job #510006) | Borderou de evaluare (job #2749789) | Borderou de evaluare (job #1632474) | Borderou de evaluare (job #1723125)
Borderou de evaluare (job #1723125)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
scanf("%d%d",&band[i],&inverted[i]);
^
user.cpp:38:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(band[i]==i&&inverted[i]==0||seen[i]==1){
^
user.cpp:17:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("role.in","r",stdin);
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("role.out","w",stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&band[i],&inverted[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK! | 5 |
| 2 | 0ms | 284kb | OK! | 5 |
| 3 | 0ms | 288kb | OK! | 5 |
| 4 | 0ms | 296kb | OK! | 5 |
| 5 | 0ms | 288kb | OK! | 5 |
| 6 | 0ms | 296kb | OK! | 5 |
| 7 | 0ms | 292kb | OK! | 5 |
| 8 | 72ms | 1072kb | OK! | 5 |
| 9 | 68ms | 1064kb | OK! | 5 |
| 10 | 68ms | 1072kb | OK! | 5 |
| 11 | 88ms | 1264kb | OK! | 5 |
| 12 | 0ms | 284kb | OK! | 5 |
| 13 | 88ms | 1268kb | OK! | 5 |
| 14 | 0ms | 288kb | OK! | 5 |
| 15 | 0ms | 284kb | OK! | 5 |
| 16 | 0ms | 284kb | OK! | 5 |
| 17 | 0ms | 284kb | OK! | 5 |
| 18 | 0ms | 288kb | OK! | 5 |
| 19 | 0ms | 276kb | OK! | 5 |
| 20 | 0ms | 288kb | OK! | 5 |
| Punctaj total | 100 |