Borderou de evaluare (job #2325438)

Utilizator cosceexcosceex cosceex Data 22 ianuarie 2019 17:17:48
Problema Trapez Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'void read()': main.cpp:16:47: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'double*' [-Wformat=] scanf("%d%d",&x[i] ,&y[i]);// f>>x[i]>>y[i]; ^ main.cpp:16:47: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'double*' [-Wformat=] main.cpp:13:35: 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); ^ main.cpp:14:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:16:48: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x[i] ,&y[i]);// f>>x[i]>>y[i]; ^ main.cpp: In function 'void write()': main.cpp:36:41: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOk!10
2553ms3932kbTime limit exceeded0
39ms131kbOk!10
4552ms4194kbTime limit exceeded0
57ms131kbOk!10
618ms262kbOk!10
7551ms4194kbTime limit exceeded0
8148ms1179kbOk!10
9551ms4063kbTime limit exceeded0
10552ms4063kbTime limit exceeded0
Punctaj total50

Ceva nu functioneaza?