Borderou de evaluare (job #1215168)

Utilizator PopescuMihai95Popescu Mihai PopescuMihai95 Data 31 iulie 2014 20:25:01
Problema Partial Match Status done
Runda Infoarena Monthly 2014 - Runda 7 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("partialmatch.in","r",stdin); ^ user.cpp:10:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("partialmatch.out","w",stdout); ^ user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:12:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); gets(b+1); scanf("%d",&k); ^ user.cpp:12:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); gets(b+1); scanf("%d",&k); ^ user.cpp:12:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] gets(a+1); gets(b+1); scanf("%d",&k); ^ /tmp/ccxzJ45p.o: In function `main': user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms280kbOK100
28ms280kbOK10
30ms320kbOK10
40ms320kbOK10
5852ms340kbOK10
6896ms344kbOK10
7892ms392kbOK10
8996ms344kbOK10
9Depăşit436kbTime limit exceeded.0
10Depăşit388kbTime limit exceeded.0
Penalizare 42 (pentru 85.0 minute)-42
Punctaj total0

Ceva nu functioneaza?