Borderou de evaluare (job #1187847)

Utilizator PopescuMihai95Popescu Mihai PopescuMihai95 Data 18 mai 2014 14:25:05
Problema Easylca Status done
Runda ONIS 2014, Runda Finala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int comp(int*, int*)’: user.cpp:26:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("easylca.in","r",stdin); ^ user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("easylca.out","w",stdout); ^ user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ user.cpp:34:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); n=strlen(s+1); ok=1; e=0; d=0; ^ /tmp/ccMMa3gT.o: In function `main': user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms268kbOK100
212ms276kbOK10
332ms276kbOK10
4172ms272kbOK10
5Depăşit264kbTime limit exceeded.0
6340ms268kbOK10
7Depăşit264kbTime limit exceeded.0
8Depăşit272kbTime limit exceeded.0
9Depăşit272kbTime limit exceeded.0
10Depăşit268kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?