Borderou de evaluare (job #1198189)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 14 iunie 2014 20:42:18
Problema Permutare2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&M); ^ user.cpp:14:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i = 1; i <= N; ++i,scanf("%d",&trash)); ^ user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ user.cpp: In function ‘int main()’: user.cpp:42:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("permutare2.in","r",stdin); ^ user.cpp:43:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("permutare2.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbOK10
30ms248kbOK10
456ms268kbOK10
5Depăşit264kbTime limit exceeded.0
6Depăşit576kbTime limit exceeded.0
7Depăşit576kbTime limit exceeded.0
8Depăşit580kbTime limit exceeded.0
9Depăşit608kbTime limit exceeded.0
10Depăşit612kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?