Borderou de evaluare (job #1467953)

Utilizator stelian2000Stelian Chichirim stelian2000 Data 5 august 2015 00:32:07
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

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
1Depăşit260kbTime limit exceeded.0
2Depăşit256kbTime limit exceeded.0
3Depăşit256kbTime limit exceeded.0
4Depăşit256kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit260kbTime limit exceeded.0
7Depăşit260kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit260kbTime limit exceeded.0
10Depăşit264kbTime limit exceeded.0
11Depăşit300kbTime limit exceeded.0
12Depăşit280kbTime limit exceeded.0
13Depăşit352kbTime limit exceeded.0
14Depăşit452kbTime limit exceeded.0
15624ms616kbKilled by signal 11(SIGSEGV).0
16420ms764kbKilled by signal 11(SIGSEGV).0
1752ms1036kbKilled by signal 11(SIGSEGV).0
1852ms1032kbKilled by signal 11(SIGSEGV).0
1940ms1040kbKilled by signal 11(SIGSEGV).0
2044ms1036kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?