Pagini recente » Borderou de evaluare (job #1435456) | Borderou de evaluare (job #1662480) | Borderou de evaluare (job #179144) | Borderou de evaluare (job #1814818) | Borderou de evaluare (job #2674763)
Borderou de evaluare (job #2674763)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:68:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d %d %d", &n, &m, &p);
^
main.cpp:68:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
main.cpp:68:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
main.cpp:71:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d", &a[i][j]);
^
main.cpp:65:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.in", "r", stdin);
^
main.cpp:66:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("struti.out", "w", stdout);
^
main.cpp:68:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &m, &p);
^
main.cpp:71:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
main.cpp:76:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &l1);
^
main.cpp:77:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &l2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 1572kb | Incorect | 0 |
2 | 6ms | 1572kb | Incorect | 0 |
3 | 6ms | 1572kb | Incorect | 0 |
4 | 5ms | 1572kb | Incorect | 0 |
5 | 6ms | 1572kb | Incorect | 0 |
6 | 6ms | 1572kb | Incorect | 0 |
7 | 5ms | 1572kb | Incorect | 0 |
8 | 6ms | 1572kb | Incorect | 0 |
9 | 6ms | 1572kb | Incorect | 0 |
10 | 6ms | 1572kb | Incorect | 0 |
Punctaj total | 0 |