Pagini recente » Borderou de evaluare (job #754326) | Borderou de evaluare (job #2268301) | Borderou de evaluare (job #908541) | Borderou de evaluare (job #3218062) | Borderou de evaluare (job #1262835)
Borderou de evaluare (job #1262835)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:39:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",nr);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv6.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv6.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x[i]);
^
user.cpp:29:17: warning: ‘nr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
++nr;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 308kb | Incorect | 0 |
5 | 0ms | 308kb | Incorect | 0 |
6 | 0ms | 316kb | Incorect | 0 |
7 | 4ms | 308kb | Incorect | 0 |
8 | 20ms | 308kb | Incorect | 0 |
9 | 32ms | 312kb | Incorect | 0 |
10 | 32ms | 312kb | Incorect | 0 |
11 | 108ms | 312kb | Incorect | 0 |
12 | 180ms | 312kb | Incorect | 0 |
13 | 252ms | 308kb | Incorect | 0 |
14 | 396ms | 312kb | Incorect | 0 |
15 | 440ms | 348kb | Incorect | 0 |
16 | 500ms | 356kb | Incorect | 0 |
17 | 564ms | 316kb | Incorect | 0 |
18 | 484ms | 356kb | Incorect | 0 |
19 | 532ms | 316kb | Incorect | 0 |
20 | 512ms | 352kb | Incorect | 0 |
Punctaj total | 0 |