Borderou de evaluare (job #1709304)

Utilizator oldscotchUPB Old Scotch oldscotch Data 28 mai 2016 11:44:10
Problema Tribut Status done
Runda ONIS 2016 - Runda - 2 - ACM ICPC Romanian Programming Contest Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:34:13: warning: unused variable ‘idx’ [-Wunused-variable] int no, idx; ^ user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp:37:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &no, &x); ^ user.cpp:41:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ user.cpp: In function ‘int main()’: user.cpp:106:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tribut.in", "r", stdin); ^ user.cpp:107:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tribut.out", "w", stdout); ^ user.cpp:109:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms676kbOK100
Punctaj total100

Ceva nu functioneaza?