Borderou de evaluare (job #1223243)

Utilizator cojocarugabiReality cojocarugabi Data 25 august 2014 17:49:17
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:5:19: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] # define infi (1LL<<31-1) ^ user.cpp:16:14: note: in expansion of macro ‘infi’ memset(V,infi,sizeof(V)); ^ user.cpp:29:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int*’ [-Wformat=] for (int i=1;i<=MAX;++i) printf("%d ",(v+i)); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.in","r",stdin); ^ user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("scmax.out","w",stdout); ^ user.cpp:14:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:15:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int i=1;i<=n;++i) scanf("%d",S+i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms4188kbLungime incorecta!00
24ms4200kbLungime incorecta!00
34ms4172kbLungime incorecta!00
44ms4180kbLungime incorecta!00
54ms4180kbLungime incorecta!00
64ms4188kbLungime incorecta!00
74ms4196kbLungime incorecta!00
872ms4956kbLungime incorecta!00
972ms4960kbLungime incorecta!0
1072ms4948kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?