Pagini recente » Borderou de evaluare (job #570086) | Borderou de evaluare (job #1640621) | Borderou de evaluare (job #512009) | Borderou de evaluare (job #2739825) | Borderou de evaluare (job #1647982)
Borderou de evaluare (job #1647982)
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:33: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:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:53: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:33: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 | 280kb | OK | 5 |
4 | 0ms | 296kb | OK | 5 |
5 | 0ms | 512kb | Incorect | 0 |
6 | 24ms | 1200kb | Incorect | 0 |
7 | 368ms | 2404kb | Incorect | 0 |
8 | Depăşit | 2812kb | Time limit exceeded. | 0 |
9 | Depăşit | 3104kb | Time limit exceeded. | 0 |
10 | Depăşit | 3196kb | Time limit exceeded. | 0 |
11 | Depăşit | 5252kb | Time limit exceeded. | 0 |
12 | Depăşit | 5372kb | Time limit exceeded. | 0 |
13 | Depăşit | 5548kb | Time limit exceeded. | 0 |
14 | Depăşit | 5840kb | Time limit exceeded. | 0 |
15 | Depăşit | 6132kb | Time limit exceeded. | 0 |
16 | Depăşit | 6132kb | Time limit exceeded. | 0 |
17 | Depăşit | 8480kb | Time limit exceeded. | 0 |
18 | Depăşit | 8772kb | Time limit exceeded. | 0 |
19 | Depăşit | 9056kb | Time limit exceeded. | 0 |
20 | Depăşit | 9060kb | Time limit exceeded. | 0 |
Punctaj total | 20 |