Borderou de evaluare (job #1417482)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 10 aprilie 2015 14:11:11
Problema K1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:23: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%lld\n", &n); ^ user.cpp:19:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("k1.in","r",stdin); ^ user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("k1.out","w",stdout); ^ user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld\n", &n); ^ user.cpp:26:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buff + 1); long long lg = strlen(buff + 1); ^ /tmp/ccV37VKl.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbOK10
20ms288kbOK10
30ms300kbOK10
40ms408kbOK10
520ms1052kbOK10
6172ms6596kbOK10
7172ms7388kbOK10
8192ms7388kbOK10
9Depăşit8320kbTime limit exceeded.0
100ms292kbOK10
Punctaj total90

Ceva nu functioneaza?