Borderou de evaluare (job #1318219)

Utilizator atatomirTatomir Alex atatomir Data 15 ianuarie 2015 19:16:07
Problema Parpal Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parpal.in","r",stdin); ^ user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("parpal.out","w",stdout); ^ user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld\n",&t); ^ user.cpp:24:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); Hash1 = Hash2 = Hash3 = Hash4 = 0; aPow = aPow2 = 1; beg=1; ^ /tmp/cc5xfnUl.o: In function `main': user.cpp:(.text.startup+0x94): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1400kbOK10
28ms1396kbOK10
336ms1400kbOK10
436ms1404kbOK10
536ms1404kbOK10
6176ms1400kbOK10
7Depăşit1380kbTime limit exceeded.0
8Depăşit1380kbTime limit exceeded.0
9Depăşit1384kbTime limit exceeded.0
100ms1400kbOK10
Punctaj total70

Ceva nu functioneaza?