Pagini recente » Borderou de evaluare (job #1679685) | Borderou de evaluare (job #788507) | Borderou de evaluare (job #1575400) | Borderou de evaluare (job #977303) | Borderou de evaluare (job #1951187)
Borderou de evaluare (job #1951187)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &n, &m);
^
user.cpp:46:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d\n", &a,&b);
^
user.cpp:48:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:88:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d %d %d\n",a,b,x,y);
^
user.cpp:88:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:88:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:88:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long long int’ [-Wformat=]
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minuni.in", "r", stdin);
^
user.cpp:45:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minuni.out", "w", stdout);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:48:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2620kb | Incorect | 0 |
2 | 4ms | 2640kb | Incorect | 0 |
3 | 4ms | 2640kb | Incorect | 0 |
4 | 108ms | 3152kb | Incorect | 0 |
5 | 144ms | 3488kb | Incorect | 0 |
6 | 216ms | 3664kb | Incorect | 0 |
7 | 256ms | 4264kb | Incorect | 0 |
8 | 280ms | 4348kb | Incorect | 0 |
9 | 360ms | 4516kb | Incorect | 0 |
10 | 352ms | 4520kb | Incorect | 0 |
Punctaj total | 0 |