Borderou de evaluare (job #1216174)

Utilizator dobrebogdanDobre Bogdan Mihai dobrebogdan Data 3 august 2014 16:28:38
Problema Minerale Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14:9: warning: unused variable ‘n’ [-Wunused-variable] int n,m,i,j,r,w,l,x,t,k,c1,c2; ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("minerale.in","r",stdin); ^ user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("minerale.out","w",stdout); ^ user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&r,&m); ^ user.cpp:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:26:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(qu+1); ^ /tmp/ccTGqIds.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms268kbOK10
348ms304kbOK10
4248ms312kbOK10
5508ms308kbOK10
6232ms292kbOK10
7232ms288kbOK10
81144ms312kbOK10
91040ms316kbOK10
10Depăşit308kbTime limit exceeded.0
Punctaj total90

Ceva nu functioneaza?