Pagini recente » Borderou de evaluare (job #1646461) | Borderou de evaluare (job #1341180) | Borderou de evaluare (job #2780016) | Borderou de evaluare (job #3002900) | Borderou de evaluare (job #2084659)
Borderou de evaluare (job #2084659)
Raport evaluator
Compilare:
user.cpp: In function ‘void p1()’:
user.cpp:17: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:26: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:57: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:51:19: warning: variable ‘minim’ set but not used [-Wunused-but-set-variable]
long long int minim;
^
user.cpp: In function ‘void p1()’:
user.cpp:17: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:57: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:81: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:82: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:83: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 | 452kb | OK | 5 |
| 2 | 0ms | 452kb | OK | 5 |
| 3 | 0ms | 460kb | OK | 5 |
| 4 | 0ms | 460kb | OK | 5 |
| 5 | 0ms | 480kb | OK | 5 |
| 6 | 0ms | 480kb | Incorect | 0 |
| 7 | 0ms | 480kb | OK | 5 |
| 8 | 0ms | 480kb | OK | 5 |
| 9 | 0ms | 480kb | OK | 5 |
| 10 | 0ms | 480kb | OK | 5 |
| 11 | 0ms | 488kb | OK | 5 |
| 12 | 0ms | 492kb | Incorect | 0 |
| 13 | 0ms | 492kb | OK | 5 |
| 14 | 0ms | 488kb | OK | 5 |
| 15 | 0ms | 484kb | Incorect | 0 |
| 16 | 0ms | 484kb | Incorect | 0 |
| 17 | 0ms | 484kb | OK | 5 |
| 18 | 0ms | 492kb | Incorect | 0 |
| 19 | 0ms | 488kb | Incorect | 0 |
| 20 | 0ms | 496kb | OK | 5 |
| Punctaj total | 70 |