Pagini recente » Borderou de evaluare (job #1519804) | Borderou de evaluare (job #288203) | Borderou de evaluare (job #993929) | Borderou de evaluare (job #489700) | Borderou de evaluare (job #1286723)
Borderou de evaluare (job #1286723)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (n==1) if (v[1]==-1) printf("%d",2);
^
user.cpp:22:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minesweeper2.in","r",stdin);
^
user.cpp:23:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minesweeper2.out","w",stdout);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:25: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 |
Punctaj/grupa |
✓ | 1 | 60ms | 2788kb | OK | 10 | 0 |
✗ | 2 | 64ms | 2780kb | Incorect | 0 |
✗ | 3 | 0ms | 436kb | OK | 10 |
✓ | 4 | 0ms | 456kb | Incorect | 0 | 0 |
✗ | 5 | 0ms | 456kb | Incorect | 0 |
✓ | 6 | 0ms | 460kb | Incorect | 0 | 0 |
✗ | 7 | 0ms | 528kb | Incorect | 0 | 0 |
✗ | 8 | 20ms | 1236kb | Incorect | 0 | 0 |
✗ | 9 | 40ms | 2024kb | Incorect | 0 | 0 |
✗ | 10 | 64ms | 2788kb | Incorect | 0 | 0 |
Punctaj total | 0 |