Borderou de evaluare (job #1729496)

Utilizator mirupetPetcan Miruna mirupet Data 14 iulie 2016 21:59:10
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void RMQ()’: user.cpp:24:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &X, &Y); ^ user.cpp: In function ‘int main()’: user.cpp:53:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:56:31: 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 ‘void Power()’: user.cpp:17:28: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations] p[i] = p[i - 1] * 2; ^ user.cpp:16:5: note: containing loop for (int i = 1; i <= 20; i++) ^ user.cpp: In function ‘int main()’: user.cpp:17:28: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations] p[i] = p[i - 1] * 2; ^ user.cpp:16:5: note: containing loop for (int i = 1; i <= 20; i++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
20ms364kbOK10
3780ms956kbOK10
4736ms360kbOK10
532msDepăşitMemory limit exceeded.0
632msDepăşitMemory limit exceeded.0
736msDepăşitMemory limit exceeded.0
836msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1032msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?