Borderou de evaluare (job #1672009)

Utilizator dobrebogdanDobre Bogdan Mihai dobrebogdan Data 2 aprilie 2016 12:15:36
Problema Diez Status done
Runda Urmasii lui Moisil 2016, Clasele 11-12 Compilator cpp | Vezi sursa
Scor 16

Raport evaluator

Compilare: user.cpp: In function ‘long long int calc(int, int)’: user.cpp:55:13: warning: unused variable ‘st’ [-Wunused-variable] int i,j,st,dr,nr=0,q2; ^ user.cpp:55:16: warning: unused variable ‘dr’ [-Wunused-variable] int i,j,st,dr,nr=0,q2; ^ user.cpp: In function ‘int main()’: user.cpp:133:13: warning: unused variable ‘j’ [-Wunused-variable] int n,i,j,m,op,x,y,z,nri=0; ^ user.cpp:131:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diez.in","r",stdin); ^ user.cpp:132:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diez.out","w",stdout); ^ user.cpp:142:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:144:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(si+1); ^ user.cpp:151:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&op); ^ user.cpp:154:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %c",&x,&ch); ^ user.cpp:166:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&x,&y,&z); ^ /tmp/ccis1ywl.o: In function `main': user.cpp:(.text.startup+0x10d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbOK4
212ms324kbOK4
3188ms372kbOK4
42988ms572kbOK4
5Depăşit608kbTime limit exceeded.0
6Depăşit748kbTime limit exceeded.0
70ms312kbKilled by signal 11(SIGSEGV).0
8Depăşit1392kbTime limit exceeded.0
9Depăşit636kbTime limit exceeded.0
10Depăşit752kbTime limit exceeded.0
11Depăşit624kbTime limit exceeded.0
12Depăşit756kbTime limit exceeded.0
13Depăşit640kbTime limit exceeded.0
14Depăşit600kbTime limit exceeded.0
15Depăşit784kbTime limit exceeded.0
16Depăşit636kbTime limit exceeded.0
17Depăşit2144kbTime limit exceeded.0
18Depăşit2324kbTime limit exceeded.0
19Depăşit2544kbTime limit exceeded.0
20Depăşit2256kbTime limit exceeded.0
21Depăşit2264kbTime limit exceeded.0
22Depăşit2248kbTime limit exceeded.0
23Depăşit668kbTime limit exceeded.0
24Depăşit1160kbTime limit exceeded.0
25Depăşit2124kbTime limit exceeded.0
Punctaj total16

Ceva nu functioneaza?