Borderou de evaluare (job #1406987)

Utilizator Juve45UAIC Alexandru Ionita Juve45 Data 29 martie 2015 17:54:12
Problema Secv10 Status done
Runda ONIS 2015, Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void solve()’: user.cpp:54:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=] scanf("%s", &s); ^ user.cpp:55:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=] scanf("%s", &st); ^ user.cpp:56:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100020]’ [-Wformat=] scanf("%s", &dr); ^ user.cpp:95:23: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%i\n", sum); ^ user.cpp: In function ‘int main()’: user.cpp:112:19: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%i", &t); ^ user.cpp: In function ‘void solve()’: user.cpp:54:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ user.cpp:55:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &st); ^ user.cpp:56:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &dr); ^ user.cpp: In function ‘int main()’: user.cpp:109:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.in", "r", stdin); ^ user.cpp:110:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("secv10.out", "w", stdout); ^ user.cpp:112:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%i", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit3664kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?