Pagini recente » Borderou de evaluare (job #1613481) | Borderou de evaluare (job #1551968) | Borderou de evaluare (job #331893) | Borderou de evaluare (job #271295) | Borderou de evaluare (job #1512877)
Borderou de evaluare (job #1512877)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d %d", &n, &k);
^
user.cpp:12:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:25:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d %d", &x,&y);
^
user.cpp:25:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:37:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d \n", S);
^
user.cpp:50:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d \n", S);
^
user.cpp:63:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d \n", S);
^
user.cpp:77:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d \n", S);
^
user.cpp:9:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("z.in", "r", stdin);
^
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("z.out", "w", stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 0ms | 432kb | Incorect | 0 |
4 | 0ms | 428kb | Incorect | 0 |
5 | 0ms | 436kb | Incorect | 0 |
6 | 0ms | 428kb | Incorect | 0 |
7 | 0ms | 432kb | Incorect | 0 |
8 | 4ms | 428kb | Incorect | 0 |
9 | 32ms | 432kb | Incorect | 0 |
10 | 40ms | 432kb | Incorect | 0 |
Punctaj total | 10 |