Pagini recente » Borderou de evaluare (job #2607222) | Borderou de evaluare (job #2725907) | Borderou de evaluare (job #1027261) | Borderou de evaluare (job #772287) | Borderou de evaluare (job #1647858)
Borderou de evaluare (job #1647858)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d\n%d %d %d\n", &p, &n, &k, &d);
^
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:31:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d\n", &x, &y);
^
user.cpp:31:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:51:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", nr);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pseudobil.in","r",stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pseudobil.out","w",stdout);
^
user.cpp:11:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d %d %d\n", &p, &n, &k, &d);
^
user.cpp:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld\n", &x, &y);
^
user.cpp:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n", &m);
^
user.cpp:20:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &x, &y);
^
user.cpp:31:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | 0ms | 276kb | OK | 5 |
4 | 0ms | 300kb | OK | 5 |
5 | 0ms | 512kb | Incorect | 0 |
6 | 0ms | 1200kb | Incorect | 0 |
7 | 4ms | 2404kb | Incorect | 0 |
8 | 8ms | 2812kb | Incorect | 0 |
9 | 8ms | 3104kb | Incorect | 0 |
10 | 12ms | 3192kb | Incorect | 0 |
11 | 24ms | 5252kb | Incorect | 0 |
12 | 24ms | 5376kb | Incorect | 0 |
13 | 28ms | 5544kb | Incorect | 0 |
14 | 32ms | 5840kb | Incorect | 0 |
15 | 40ms | 6132kb | Incorect | 0 |
16 | 44ms | 6132kb | Incorect | 0 |
17 | 96ms | 8472kb | Incorect | 0 |
18 | 100ms | 8772kb | Incorect | 0 |
19 | 104ms | 9052kb | Incorect | 0 |
20 | 104ms | 9052kb | Incorect | 0 |
Punctaj total | 20 |