Pagini recente » Borderou de evaluare (job #2344236) | Borderou de evaluare (job #149280) | Borderou de evaluare (job #936877) | Borderou de evaluare (job #1641199) | Borderou de evaluare (job #1644708)
Borderou de evaluare (job #1644708)
Raport evaluator
Compilare:
user.cpp: In function ‘void afisare(int)’:
user.cpp:31:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S\n", n/2-sol[x-1].s);
^
user.cpp:32:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S", n/2-sol[x-1].f);
^
user.cpp:35:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D\n", sol[x-1].f-n/2);
^
user.cpp:36:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D", sol[x-1].s-n/2+1);
^
user.cpp:39:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d S\n", n/2-sol[x-1].s);
^
user.cpp:40:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d D", sol[x-1].f+1-n/2);
^
user.cpp:28:9: warning: unused variable ‘s’ [-Wunused-variable]
int s=n/2;
^
user.cpp: In function ‘int main()’:
user.cpp:46:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.in","r",stdin);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.out","w",stdout);
^
user.cpp:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &col);
^
user.cpp:51:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n", &v, &p);
^
user.cpp:56:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n", &v, &p);
^
user.cpp:60:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 580kb | Time limit exceeded. | 0 |
| 2 | 0ms | 444kb | OK | 5 |
| 3 | 36ms | 1228kb | Primul numar corect | 1 |
| 4 | Depăşit | 580kb | Time limit exceeded. | 0 |
| 5 | 0ms | 448kb | Primul numar corect | 1 |
| 6 | 0ms | 452kb | Primul numar corect | 1 |
| 7 | 0ms | 452kb | Primul numar corect | 1 |
| 8 | 0ms | 448kb | Primul numar corect | 1 |
| 9 | Depăşit | 532kb | Time limit exceeded. | 0 |
| 10 | 16ms | 840kb | Primul numar corect | 1 |
| 11 | 0ms | 464kb | Primul numar corect | 1 |
| 12 | Depăşit | 580kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 580kb | Time limit exceeded. | 0 |
| 14 | 0ms | 456kb | Primul numar corect | 1 |
| 15 | 0ms | 444kb | OK | 5 |
| 16 | 0ms | 452kb | OK | 5 |
| 17 | Depăşit | 576kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 576kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 580kb | Time limit exceeded. | 0 |
| 20 | 0ms | 448kb | OK | 5 |
| Punctaj total | 28 |