Pagini recente » Borderou de evaluare (job #297327) | Borderou de evaluare (job #816692) | Borderou de evaluare (job #589558) | Borderou de evaluare (job #3991) | Borderou de evaluare (job #1183877)
Borderou de evaluare (job #1183877)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:51:80: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld %ld %ld %ld %ld %ld %ld",&x0,&x1,&x2,&a[2][2],&a[2][1],&a[2][0],&n);
^
user.cpp:51:80: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:51:80: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:51:80: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:51:80: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:51:80: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 7 has type ‘long long int*’ [-Wformat=]
user.cpp:51:80: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 8 has type ‘long long int*’ [-Wformat=]
user.cpp:66:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",n);
^
user.cpp:45:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri.in","r",stdin);
^
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("iepuri.out","w",stdout);
^
user.cpp:47:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:51:81: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld %ld %ld %ld %ld",&x0,&x1,&x2,&a[2][2],&a[2][1],&a[2][0],&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Ok! | 10 |
2 | 0ms | 260kb | Ok! | 10 |
3 | 0ms | 260kb | Ok! | 10 |
4 | 0ms | 264kb | Ok! | 10 |
5 | 0ms | 260kb | Ok! | 10 |
6 | 0ms | 260kb | Ok! | 10 |
7 | 0ms | 252kb | Ok! | 10 |
8 | 0ms | 256kb | Ok! | 10 |
9 | 0ms | 260kb | Ok! | 10 |
10 | 4ms | 260kb | Ok! | 10 |
Punctaj total | 100 |