Borderou de evaluare (job #1936586)

Utilizator giotoPopescu Ioan gioto Data 23 martie 2017 11:07:00
Problema Garaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &a[i].c, &a[i].t), a[i].t *= 2; ^ user.cpp:18:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:14: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:15: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); ^ user.cpp:16:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:18:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a[i].c, &a[i].t), a[i].t *= 2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms264kbOK10
30ms264kbOK10
40ms280kbOK10
5Depăşit1640kbTime limit exceeded.0
60ms264kbIncorect0
7Depăşit1788kbTime limit exceeded.0
8Depăşit1816kbTime limit exceeded.0
9Depăşit1812kbTime limit exceeded.0
10Depăşit1788kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?