Borderou de evaluare (job #1446040)

Utilizator mouse_wirelessMouse Wireless mouse_wireless Data 31 mai 2015 19:16:32
Problema Range minimum query Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:9:2: error: #else without #if #else ^ user.cpp:10:0: warning: "InFile" redefined [enabled by default] #define InFile "fis.in" ^ user.cpp:7:0: note: this is the location of the previous definition #define InFile "rmq.in" ^ user.cpp:11:0: warning: "OutFile" redefined [enabled by default] #define OutFile "fis.out" ^ user.cpp:8:0: note: this is the location of the previous definition #define OutFile "rmq.in" ^ user.cpp:12:2: error: #endif without #if #endif ^ user.cpp: In function ‘int main()’: user.cpp:123:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ user.cpp: In constructor ‘jmenseq::jmenseq()’: user.cpp:55:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &sz); ^ user.cpp:56:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:58:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &elem[i]); ^

Ceva nu functioneaza?