Pagini recente » Borderou de evaluare (job #1834513) | Borderou de evaluare (job #1044684) | Borderou de evaluare (job #840459) | Borderou de evaluare (job #118555) | Borderou de evaluare (job #1310019)
Borderou de evaluare (job #1310019)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%i", &n);
^
user.cpp:31:33: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘BYTE* {aka char*}’ [-Wformat=]
scanf("%i", &a[i][j]);
^
user.cpp:23: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:24: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:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &n);
^
user.cpp:31:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 252kb | Incorect | 0 |
4 | 0ms | 248kb | Incorect | 0 |
5 | 0ms | 252kb | Incorect | 0 |
6 | 0ms | 252kb | Incorect | 0 |
7 | 4ms | 256kb | Incorect | 0 |
8 | 4ms | 248kb | Incorect | 0 |
9 | 8ms | 256kb | Incorect | 0 |
10 | 12ms | 256kb | Incorect | 0 |
Punctaj total | 20 |