Borderou de evaluare (job #1672024)

Utilizator dobrebogdanDobre Bogdan Mihai dobrebogdan Data 2 aprilie 2016 12:20:23
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:134:13: warning: unused variable ‘j’ [-Wunused-variable] int n,i,j,m,op,x,y,z,nri=0; ^ user.cpp:132: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:133: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:143: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:145:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(si+1); ^ user.cpp:152:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&op); ^ user.cpp:155: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:167: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/cc3P7G55.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
212ms316kbOK4
3184ms376kbOK4
42988ms576kbOK4
5Depăşit604kbTime limit exceeded.0
6Depăşit752kbTime limit exceeded.0
7Depăşit796kbTime limit exceeded.0
8Depăşit1396kbTime limit exceeded.0
9Depăşit632kbTime limit exceeded.0
10Depăşit756kbTime limit exceeded.0
11Depăşit616kbTime limit exceeded.0
12Depăşit760kbTime limit exceeded.0
13Depăşit644kbTime limit exceeded.0
14Depăşit592kbTime limit exceeded.0
15Depăşit784kbTime limit exceeded.0
16Depăşit636kbTime limit exceeded.0
17Depăşit2140kbTime limit exceeded.0
18Depăşit2320kbTime limit exceeded.0
19Depăşit2536kbTime limit exceeded.0
20Depăşit2264kbTime limit exceeded.0
21Depăşit2264kbTime limit exceeded.0
22Depăşit2244kbTime limit exceeded.0
23Depăşit668kbTime limit exceeded.0
24Depăşit1160kbTime limit exceeded.0
25Depăşit2116kbTime limit exceeded.0
Punctaj total16

Ceva nu functioneaza?