Borderou de evaluare (job #2047724)

Utilizator CiprianC11Constantinescu Ciprian CiprianC11 Data 25 octombrie 2017 10:30:28
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < p.size(); i++) ^ user.cpp:52:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = i + 1; j < p.size(); j++) ^ user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trapez.in", "r", stdin); ^ user.cpp:32:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trapez.out", "w", stdout); ^ user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:38:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOk!10
2Depăşit4308kbTime limit exceeded.0
352ms372kbOk!10
4Depăşit4308kbTime limit exceeded.0
552ms368kbOk!10
6272ms392kbOk!10
7Depăşit4312kbTime limit exceeded.0
8Depăşit1348kbTime limit exceeded.0
9Depăşit4312kbTime limit exceeded.0
10Depăşit4316kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?