Borderou de evaluare (job #1395526)

Utilizator tudor_bonifateTudor Bonifate tudor_bonifate Data 21 martie 2015 12:12:07
Problema Bignumber Status done
Runda Urmasii lui Moisil 2015, Clasa a 9-a Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] scanf("%d %d\n",&n,&x); ^ user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bignumber.in","r",stdin); ^ user.cpp:28:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bignumber.out","w",stdout); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n",&n,&x); ^ user.cpp:30:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(z+1); ^ /tmp/cc34yCny.o: In function `main': user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms432kbOK5
20ms428kbIncorect0
30ms428kbIncorect0
40ms428kbIncorect0
564ms468kbIncorect0
6156ms472kbOK5
7Depăşit836kbTime limit exceeded.0
8Depăşit880kbTime limit exceeded.0
9Depăşit924kbTime limit exceeded.0
10Depăşit992kbTime limit exceeded.0
11Depăşit1164kbTime limit exceeded.0
12Depăşit1364kbTime limit exceeded.0
13Depăşit2336kbTime limit exceeded.0
14Depăşit3312kbTime limit exceeded.0
15Depăşit4288kbTime limit exceeded.0
16Depăşit5264kbTime limit exceeded.0
178ms1560kbKilled by signal 6(SIGABRT).0
188ms1556kbKilled by signal 6(SIGABRT).0
198ms1556kbKilled by signal 6(SIGABRT).0
208ms1560kbKilled by signal 6(SIGABRT).0
Punctaj total10

Ceva nu functioneaza?