Borderou de evaluare (job #1709042)

Utilizator TeamFIIHUAIC FIICoders TeamFIIH Data 28 mai 2016 10:41:15
Problema Consecutive Status done
Runda ONIS 2016 - Runda - 2 - ACM ICPC Romanian Programming Contest Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:42:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (unsigned i = 0; i < k; ++i){ ^ user.cpp:22:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("consecutive.in", "r", stdin); ^ user.cpp:23:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("consecutive.out", "w", stdout); ^ user.cpp:29:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit268kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?