Borderou de evaluare (job #1874772)

Utilizator MKLOLDragos Ristache MKLOL Data 10 februarie 2017 13:39:02
Problema Adapost 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 25

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘ll* {aka long long int*}’ [-Wformat=] scanf("%d",&N); ^ user.cpp:59:11: warning: unused variable ‘ok’ [-Wunused-variable] int ok = 0; ^ user.cpp:57:9: warning: unused variable ‘NRQ’ [-Wunused-variable] int NRQ = 0; ^ user.cpp:34:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost2.in","r",stdin); ^ user.cpp:35:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("adapost2.out","w",stdout); ^ user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^ user.cpp:46:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lf%lf",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms520kbExcelent!!!!5
20ms516kbExcelent!!!!5
30ms516kbExcelent!!!!5
420ms512kbExcelent!!!!5
5Depăşit468kbTime limit exceeded.0
6Depăşit472kbTime limit exceeded.0
7Depăşit468kbTime limit exceeded.0
8Depăşit476kbTime limit exceeded.0
9Depăşit476kbTime limit exceeded.0
1096ms528kbExcelent!!!!5
11Depăşit484kbTime limit exceeded.0
12Depăşit480kbTime limit exceeded.0
13Depăşit516kbTime limit exceeded.0
14Depăşit536kbTime limit exceeded.0
15Depăşit816kbTime limit exceeded.0
16Depăşit708kbTime limit exceeded.0
17Depăşit1016kbTime limit exceeded.0
18Depăşit1096kbTime limit exceeded.0
19Depăşit1252kbTime limit exceeded.0
20Depăşit1252kbTime limit exceeded.0
Punctaj total25

Ceva nu functioneaza?