Borderou de evaluare (job #1390690)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 17 martie 2015 11:17:25
Problema Por Costel si Invazia Extraterestra Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int query(int, int, int)’: user.cpp:38:9: warning: unused variable ‘val1’ [-Wunused-variable] int val1 = 0 , val2 = 0 , mij; ^ user.cpp:38:20: warning: unused variable ‘val2’ [-Wunused-variable] int val1 = 0 , val2 = 0 , mij; ^ user.cpp: In function ‘int main()’: user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invazia.in","r",stdin); ^ user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("invazia.out","w",stdout); ^ user.cpp:56:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:60:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &tip); ^ user.cpp:64:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &a, &b, &x); ^ user.cpp:72:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ user.cpp:80:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
11308ms30680kbOK100
Punctaj total100

Ceva nu functioneaza?