Borderou de evaluare (job #2126150)

Utilizator LucaSeriSeritan Luca LucaSeri Data 9 februarie 2018 11:35:43
Problema Clasamente Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:87:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[70]’ [-Wformat=] scanf("%s\n", &s); ^ user.cpp:88:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < strlen(s); ++i){ ^ user.cpp:77:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("clasamente.in", "r", stdin); ^ user.cpp:78:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("clasamente.out", "w", stdout); ^ user.cpp:80:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &t); ^ user.cpp:83:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:87:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit1448kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?