Pagini recente » Borderou de evaluare (job #1190746) | Borderou de evaluare (job #843410) | Borderou de evaluare (job #2304888) | Borderou de evaluare (job #660648) | Borderou de evaluare (job #1820862)
Borderou de evaluare (job #1820862)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:17: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
else if (x == -1)
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maraton.in", "r", stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maraton.out", "w", stdout);
^
user.cpp:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:13: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 | 436kb | Incorect | 0 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 444kb | Incorect | 0 |
4 | 0ms | 444kb | Incorect | 0 |
5 | 0ms | 444kb | Incorect | 0 |
6 | 0ms | 444kb | Incorect | 0 |
7 | 0ms | 444kb | Incorect | 0 |
8 | 0ms | 448kb | Incorect | 0 |
9 | 0ms | 444kb | Incorect | 0 |
10 | 0ms | 444kb | Incorect | 0 |
Punctaj total | 10 |