Borderou de evaluare (job #1352214)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 21 februarie 2015 12:11:47
Problema Por Costel si Semipalindroamele Status done
Runda ONIS 2015, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:33: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] scanf("%d %lld", &n , &k); ^ user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semipal.in","r",stdin); ^ user.cpp:12:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("semipal.out","w",stdout); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.cpp:18:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %lld", &n , &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?