Pagini recente » Borderou de evaluare (job #3119380) | Cod sursa (job #129202) | Borderou de evaluare (job #1588655) | Cod sursa (job #288554) | Borderou de evaluare (job #2084668)
Borderou de evaluare (job #2084668)
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 | 456kb | OK | 5 |
| 2 | 0ms | 456kb | OK | 5 |
| 3 | 0ms | 460kb | OK | 5 |
| 4 | 0ms | 464kb | OK | 5 |
| 5 | 0ms | 420kb | Incorect | 0 |
| 6 | 0ms | 420kb | Incorect | 0 |
| 7 | 0ms | 420kb | Incorect | 0 |
| 8 | 0ms | 416kb | Incorect | 0 |
| 9 | 0ms | 420kb | Incorect | 0 |
| 10 | 0ms | 416kb | Incorect | 0 |
| 11 | 0ms | 420kb | Incorect | 0 |
| 12 | 0ms | 424kb | Incorect | 0 |
| 13 | 0ms | 416kb | Incorect | 0 |
| 14 | 0ms | 420kb | Incorect | 0 |
| 15 | 0ms | 416kb | Incorect | 0 |
| 16 | 0ms | 420kb | Incorect | 0 |
| 17 | 0ms | 420kb | Incorect | 0 |
| 18 | 0ms | 420kb | Incorect | 0 |
| 19 | 0ms | 424kb | Incorect | 0 |
| 20 | 0ms | 420kb | Incorect | 0 |
| Punctaj total | 20 |