Pagini recente » Borderou de evaluare (job #1175872) | Borderou de evaluare (job #1649884) | Borderou de evaluare (job #2650080) | Borderou de evaluare (job #2504354) | Borderou de evaluare (job #1647978)
Borderou de evaluare (job #1647978)
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:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", nr-1);
^
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 | 284kb | OK | 5 |
| 2 | 0ms | 288kb | OK | 5 |
| 3 | 0ms | 284kb | OK | 5 |
| 4 | 0ms | 292kb | OK | 5 |
| 5 | 0ms | 512kb | Incorect | 0 |
| 6 | 24ms | 1200kb | Incorect | 0 |
| 7 | 376ms | 2408kb | Incorect | 0 |
| 8 | Depăşit | 2816kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 3104kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3196kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 5256kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 5372kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 5548kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 5836kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 6128kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 6128kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 8472kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 8768kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 9056kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 9056kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |