Borderou de evaluare (job #1300257)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 24 decembrie 2014 11:30:01
Problema Bunicu Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘std::bitset<1000u>*’ [-Wformat=] scanf("%d", &x[i]); ^ user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.in", "r", stdin); ^ user.cpp:16:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bunicu.out", "w", stdout); ^ user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10msDepăşitMemory limit exceeded.00
20msDepăşitMemory limit exceeded.0
30msDepăşitMemory limit exceeded.0
40msDepăşitMemory limit exceeded.0
512msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?