Borderou de evaluare (job #1671994)

Utilizator dobrebogdanDobre Bogdan Mihai dobrebogdan Data 2 aprilie 2016 12:06:58
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/cccNGgbq.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
10ms308kbOK4
212ms320kbOK4
3188ms380kbOK4
42988ms568kbOK4
5Depăşit604kbTime limit exceeded.0
6Depăşit744kbTime limit exceeded.0
70ms308kbKilled by signal 11(SIGSEGV).0
8Depăşit1396kbTime limit exceeded.0
9Depăşit632kbTime limit exceeded.0
10Depăşit760kbTime limit exceeded.0
11Depăşit624kbTime limit exceeded.0
12Depăşit760kbTime limit exceeded.0
13Depăşit640kbTime limit exceeded.0
14Depăşit600kbTime limit exceeded.0
15Depăşit784kbTime limit exceeded.0
16Depăşit632kbTime limit exceeded.0
17Depăşit2144kbTime limit exceeded.0
18Depăşit2324kbTime limit exceeded.0
19Depăşit2528kbTime limit exceeded.0
20Depăşit2260kbTime limit exceeded.0
21Depăşit2260kbTime limit exceeded.0
22Depăşit2248kbTime limit exceeded.0
23Depăşit664kbTime limit exceeded.0
24Depăşit1156kbTime limit exceeded.0
25Depăşit2120kbTime limit exceeded.0
Punctaj total16

Ceva nu functioneaza?