Pagini recente » Borderou de evaluare (job #870871) | Borderou de evaluare (job #433488) | Borderou de evaluare (job #1279245) | Borderou de evaluare (job #885524) | Borderou de evaluare (job #2115228)
Borderou de evaluare (job #2115228)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n%d\n", &v, &m);
^
user.cpp:62:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:73:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d", rez, rez-captot);
^
user.cpp: In function ‘int cerinta1(int)’:
user.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:60:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pic.in", "r", stdin);
^
user.cpp:61:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pic.out", "w", stdout);
^
user.cpp:62:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n", &v, &m);
^
user.cpp:66:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%lld ", &cap[i][j]); captot+=cap[i][j];}
^
user.cpp: In function ‘int cautbin()’:
user.cpp:55:12: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return p;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 292kb | Incorect | 0 |
4 | 0ms | 292kb | OK | 5 |
5 | 0ms | 304kb | OK | 5 |
6 | 0ms | 296kb | OK | 5 |
7 | 0ms | 304kb | OK | 5 |
8 | 0ms | 296kb | OK | 5 |
9 | 0ms | 304kb | OK | 5 |
10 | 0ms | 300kb | OK | 5 |
11 | 0ms | 308kb | Incorect | 0 |
12 | 0ms | 304kb | Incorect | 0 |
13 | 0ms | 308kb | Incorect | 0 |
14 | 0ms | 308kb | Incorect | 0 |
15 | 0ms | 308kb | Incorect | 0 |
16 | 0ms | 304kb | Incorect | 0 |
17 | 0ms | 304kb | Incorect | 0 |
18 | 0ms | 312kb | Incorect | 0 |
19 | 0ms | 312kb | Incorect | 0 |
20 | 0ms | 308kb | Incorect | 0 |
Punctaj total | 35 |