Pagini recente » Borderou de evaluare (job #1041859) | Borderou de evaluare (job #938502) | Borderou de evaluare (job #197796) | Borderou de evaluare (job #108359) | Borderou de evaluare (job #1455972)
Borderou de evaluare (job #1455972)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a[poz] == j)
^
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze.in", "r", stdin);
^
user.cpp:23:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("autobuze.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("%d", &n);
^
user.cpp:27:24: 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 | 276kb | OK | 10 |
3 | 88ms | 288kb | OK | 10 |
4 | 20ms | 324kb | OK | 10 |
5 | 16ms | 368kb | OK | 10 |
6 | 376ms | 480kb | Incorect | 0 |
7 | 256ms | 644kb | Incorect | 0 |
8 | 216ms | 640kb | Incorect | 0 |
9 | Depăşit | 736kb | Time limit exceeded. | 0 |
10 | Depăşit | 768kb | Time limit exceeded. | 0 |
Punctaj total | 50 |