Pagini recente » Borderou de evaluare (job #1203965) | Borderou de evaluare (job #815847) | Borderou de evaluare (job #1145052) | Borderou de evaluare (job #725030) | Borderou de evaluare (job #2084646)
Borderou de evaluare (job #2084646)
Raport evaluator
Compilare:
user.cpp: In function ‘void p1()’:
user.cpp:16:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &a[l][i]);
^
user.cpp:25:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", maxpos);
^
user.cpp: In function ‘void p2()’:
user.cpp:56:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d ", &a[l][i]);
^
user.cpp:50:19: warning: variable ‘minim’ set but not used [-Wunused-but-set-variable]
long long int minim;
^
user.cpp: In function ‘int main()’:
user.cpp:82:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d\n%d\n", &v, &n);
^
user.cpp:82:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘void p1()’:
user.cpp:16:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[l][i]);
^
user.cpp: In function ‘void p2()’:
user.cpp:56:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[l][i]);
^
user.cpp: In function ‘int main()’:
user.cpp:80: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:81: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:82:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d\n", &v, &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 5 |
2 | 0ms | 464kb | OK | 5 |
3 | 0ms | 464kb | OK | 5 |
4 | 0ms | 476kb | OK | 5 |
5 | 0ms | 484kb | Incorect | 0 |
6 | 0ms | 484kb | Incorect | 0 |
7 | 0ms | 488kb | Incorect | 0 |
8 | 0ms | 492kb | Incorect | 0 |
9 | 0ms | 488kb | Incorect | 0 |
10 | 0ms | 484kb | Incorect | 0 |
11 | 0ms | 504kb | Incorect | 0 |
12 | 0ms | 504kb | OK | 5 |
13 | 0ms | 496kb | Incorect | 0 |
14 | 0ms | 500kb | Incorect | 0 |
15 | 0ms | 492kb | Incorect | 0 |
16 | 0ms | 492kb | OK | 5 |
17 | 0ms | 496kb | Incorect | 0 |
18 | 0ms | 500kb | OK | 5 |
19 | 0ms | 496kb | Incorect | 0 |
20 | 0ms | 496kb | Incorect | 0 |
Punctaj total | 35 |