Pagini recente » Borderou de evaluare (job #2334242) | Borderou de evaluare (job #1816452) | Borderou de evaluare (job #2506403) | Borderou de evaluare (job #2660334) | Borderou de evaluare (job #1467953)
Borderou de evaluare (job #1467953)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:15:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&p);
^
user.cpp:19:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:23:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",s);
^
user.cpp:37:58: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(v1[i]==0) {printf("%d ",v2[i]);r=i;j++;v1[i]=v[j];v2[i]=j;}
^
user.cpp:40:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("\n%d",r);
^
user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("roata.in","r",stdin);
^
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("roata.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:19:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 256kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 300kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 280kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 452kb | Time limit exceeded. | 0 |
| 15 | 624ms | 616kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 420ms | 764kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 52ms | 1036kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 52ms | 1032kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 40ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 44ms | 1036kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |