Borderou de evaluare (job #1306913)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 31 decembrie 2014 17:26:38
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:11:9: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp: In function ‘int main()’: user.cpp:56:19: warning: unused variable ‘j’ [-Wunused-variable] int dig=0,j=0,value=0,first=0; ^ user.cpp: In function ‘void Read()’: 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("saracsaurege.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("saracsaurege.out","w",stdout); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&M); ^ user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&Array[i]); ^ user.cpp: In function ‘int main()’: user.cpp:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:67:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^ user.cpp:74:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&ch); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms276kbIncorect0
3Depăşit432kbTime limit exceeded.0
4Depăşit276kbTime limit exceeded.0
5188ms972kbOK10
696ms968kbIncorect0
7Depăşit968kbTime limit exceeded.0
8Depăşit964kbTime limit exceeded.0
9Depăşit972kbTime limit exceeded.0
10Depăşit972kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?