Borderou de evaluare (job #1664109)

Utilizator liisLIIS-Horia-Vlad-Denis liis Data 26 martie 2016 11:59:19
Problema Ruksak Status done
Runda AGM 2016 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &n, &G); ^ user.cpp:32:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:35:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &w, &p); ^ user.cpp:35:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:31:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ruksak.in", "r", stdin); ^ user.cpp:32:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &G); ^ user.cpp:35:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &w, &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit448kbTime limit exceeded.00
2Depăşit452kbTime limit exceeded.0
3Depăşit452kbTime limit exceeded.0
4Depăşit456kbTime limit exceeded.0
5136ms440kbOK10
6Depăşit452kbTime limit exceeded.0
7Depăşit448kbTime limit exceeded.0
8Depăşit452kbTime limit exceeded.0
9Depăşit448kbTime limit exceeded.0
10Depăşit412kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?