Borderou de evaluare (job #1490410)

Utilizator akaprosAna Kapros akapros Data 23 septembrie 2015 14:46:38
Problema Garaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:22:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] scanf("%d %lld", &n, &m); ^ user.cpp:24:44: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld %lld", &v[i].c, &v[i].t), ^ user.cpp:24:44: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("garaj.in", "r", stdin); ^ user.cpp:22:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %lld", &n, &m); ^ user.cpp:25:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] v[i].t *= 2; ^ user.cpp: In function ‘void write()’: user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("garaj.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms256kbOK10
30ms252kbOK10
40ms264kbOK10
5Depăşit952kbTime limit exceeded.0
60ms256kbOK10
7Depăşit1020kbTime limit exceeded.0
8Depăşit1028kbTime limit exceeded.0
9Depăşit1032kbTime limit exceeded.0
10Depăşit1020kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?