Borderou de evaluare (job #1218126)

Utilizator pulseOvidiu Giorgi pulse Data 9 august 2014 16:44:04
Problema Autobuze Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:78:24: error: cannot pass objects of non-trivially-copyable type ‘class std::bitset<50005u>::reference’ through ‘...’ printf("%d ", Used[i]); ^ user.cpp:78:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::bitset<50005u>::reference’ [-Wformat=] user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze.in", "r", stdin); ^ user.cpp:44:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze.out", "w", stdout); ^ user.cpp:45:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &N); ^ user.cpp:48:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &V[i]); ^

Ceva nu functioneaza?