Borderou de evaluare (job #1337722)

Utilizator iarbaCrestez Paul iarba Data 9 februarie 2015 13:49:47
Problema Patrulatere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:15:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] for(i=1;i<=n;i++){scanf("%lld%lld",&x[i],&y[i]);} ^ user.cpp:15:48: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:31:18: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%ld",t-c); ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("patrulatere.in","r",stdin); ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("patrulatere.out","w",stdout); ^ user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:15:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++){scanf("%lld%lld",&x[i],&y[i]);} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms292kbIncorect00
20ms352kbIncorect0
30ms628kbIncorect00
40ms708kbIncorect0
528ms3916kbIncorect00
628ms3928kbIncorect00
7168ms9928kbIncorect00
8200ms10728kbIncorect00
9188ms10324kbIncorect00
10192ms10724kbIncorect00
11Depăşit31140kbTime limit exceeded.00
12Depăşit23132kbTime limit exceeded.00
13152msDepăşitMemory limit exceeded.00
14152msDepăşitMemory limit exceeded.00
15152msDepăşitMemory limit exceeded.00
16152msDepăşitMemory limit exceeded.00
17152msDepăşitMemory limit exceeded.00
18152msDepăşitMemory limit exceeded.0
19148msDepăşitMemory limit exceeded.00
20152msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?