Borderou de evaluare (job #1427067)

Utilizator Cristian1997Vintur Cristian Cristian1997 Data 1 mai 2015 14:47:15
Problema Por Costel si Semipalindroamele Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:31: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d %ld", &n, &k); ^ user.cpp:45:38: 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:46:40: 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:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &t); t; --t) ^ user.cpp:54:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %ld", &n, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbIncorect0
Punctaj total0

Ceva nu functioneaza?