Borderou de evaluare (job #1306962)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 31 decembrie 2014 18:43:24
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: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:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(Str); ^ /tmp/ccg25dYa.o: In function `main': user.cpp:(.text.startup+0x6c): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms284kbIncorect0
3Depăşit428kbTime limit exceeded.0
4860ms280kbIncorect0
5132ms972kbOK10
672ms972kbIncorect0
7Depăşit964kbTime limit exceeded.0
8Depăşit968kbTime limit exceeded.0
9Depăşit972kbTime limit exceeded.0
10Depăşit964kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?