Pagini recente » Borderou de evaluare (job #1325827) | Borderou de evaluare (job #1523026) | Borderou de evaluare (job #2443220) | Borderou de evaluare (job #2652560) | Borderou de evaluare (job #1548576)
Borderou de evaluare (job #1548576)
Raport evaluator
Compilare:
user.cpp: In function ‘void enter()’:
user.cpp:19:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d\n", &m, &n, &q);
^
user.cpp:19:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:19:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:32:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d %d %d", &a[i], &b[i], &c[i], &d[i]);
^
user.cpp:32:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:32:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:32:56: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:19:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &m, &n, &q);
^
user.cpp:25:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:32:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &a[i], &b[i], &c[i], &d[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:77:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(task".in","r",stdin);
^
user.cpp:78:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(task".out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 532kb | Incorect | 0 |
2 | 0ms | 528kb | Incorect | 0 |
3 | 0ms | 528kb | Incorect | 0 |
4 | 0ms | 468kb | Incorect | 0 |
5 | 0ms | 472kb | Incorect | 0 |
6 | 0ms | 472kb | Incorect | 0 |
7 | 0ms | 476kb | Incorect | 0 |
8 | 0ms | 468kb | Incorect | 0 |
9 | 0ms | 472kb | Incorect | 0 |
10 | 0ms | 476kb | Incorect | 0 |
Punctaj total | 0 |