Borderou de evaluare (job #1417434)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 10 aprilie 2015 12:31:07
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘double*’ [-Wformat=] fscanf(in, "%d %d", &P[i].x, &P[i].y); ^ user.cpp:48:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘double*’ [-Wformat=] user.cpp:46:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &N); ^ user.cpp:48:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d", &P[i].x, &P[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms304kbOk!10
2Depăşit19768kbTime limit exceeded.0
312ms476kbWrong answer!0
4Depăşit19772kbTime limit exceeded.0
512ms480kbOk!10
632ms720kbWrong answer!0
7Depăşit19772kbTime limit exceeded.0
8480ms5168kbWrong answer!0
9Depăşit19768kbTime limit exceeded.0
10Depăşit19264kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?