Borderou de evaluare (job #1254828)

Utilizator danstefanDamian Dan Stefan danstefan Data 3 noiembrie 2014 16:22:19
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&n); ^ user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&v[i],&x[i]); ^ user.cpp:19:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.in","r",stdin); ^ user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:19:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&v[i],&x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms460kbOK1010
20ms464kbOK1010
30ms460kbOK1010
452msDepăşitMemory limit exceeded.00
552msDepăşitMemory limit exceeded.00
652msDepăşitMemory limit exceeded.00
752msDepăşitMemory limit exceeded.00
852msDepăşitMemory limit exceeded.00
952msDepăşitMemory limit exceeded.0
1052msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?