Pagini recente » Borderou de evaluare (job #376073) | Borderou de evaluare (job #1493320) | Borderou de evaluare (job #2206493) | Borderou de evaluare (job #2551386) | Borderou de evaluare (job #1277364)
Borderou de evaluare (job #1277364)
Raport evaluator
Compilare:
user.cpp: In function ‘void tipar(int)’:
user.cpp:12:27: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld ",x[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:50:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld ", &n,&m,&d);
^
user.cpp:50:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:50:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:55:27: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&viz[i][0]);
^
user.cpp:59:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&y);
^
user.cpp:48:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.in", "r", stdin);
^
user.cpp:49:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluricex.out", "w", stdout);
^
user.cpp:50:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld ", &n,&m,&d);
^
user.cpp:55:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&viz[i][0]);
^
user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 44ms | 260kb | OK | 10 |
5 | 0ms | 252kb | OK | 10 |
6 | 12ms | 256kb | OK | 10 |
7 | 0ms | 252kb | OK | 10 |
8 | 36ms | 256kb | OK | 10 |
9 | 12ms | 256kb | OK | 10 |
10 | 0ms | 260kb | OK | 10 |
Punctaj total | 100 |