Borderou de evaluare (job #1298529)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 22 decembrie 2014 21:53:46
Problema Prefix2 Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", sq); ^ user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.in", "r", stdin); ^ user.cpp:44:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("prefix2.out", "w", stdout); ^ user.cpp:45:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/ccRB2iMH.o: In function `main': user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1456kbIncorect0
2280ms4092kbIncorect0
3Depăşit4796kbTime limit exceeded.0
4Depăşit4652kbTime limit exceeded.0
5Depăşit4780kbTime limit exceeded.0
6Depăşit4892kbTime limit exceeded.0
7Depăşit4980kbTime limit exceeded.0
8Depăşit5228kbTime limit exceeded.0
9Depăşit5220kbTime limit exceeded.0
10Depăşit5220kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?