Pagini recente » Borderou de evaluare (job #708387) | Borderou de evaluare (job #2798007) | Borderou de evaluare (job #1601153) | Borderou de evaluare (job #2204664) | Borderou de evaluare (job #1310001)
Borderou de evaluare (job #1310001)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%i", &n);
^
user.cpp:34:36: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘BYTE* {aka char*}’ [-Wformat=]
scanf("%i", &matr[i][j]);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.in", "r", stdin);
^
user.cpp:27:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.out", "w", stdout);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
user.cpp:34:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &matr[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 252kb | Incorect | 0 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 252kb | Incorect | 0 |
5 | 0ms | 256kb | Incorect | 0 |
6 | 0ms | 256kb | Incorect | 0 |
7 | 4ms | 260kb | Incorect | 0 |
8 | 4ms | 252kb | Incorect | 0 |
9 | 4ms | 252kb | Incorect | 0 |
10 | 8ms | 256kb | Incorect | 0 |
Punctaj total | 10 |