Borderou de evaluare (job #1869835)

Utilizator NicusorTelescu Nicolae Nicusor Data 6 februarie 2017 10:46:35
Problema Sume 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void functie2(long long int)’: user.cpp:34:15: warning: unused variable ‘cnt’ [-Wunused-variable] long long cnt=0,i,i1,step; ^ user.cpp: In function ‘int main()’: user.cpp:75:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sume2.in","r",stdin); ^ user.cpp:76:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sume2.out","w",stdout); ^ user.cpp:77:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld %lld\n",&n,&k); ^ user.cpp:80:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccJlZCZS.o: In function `main': user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms292kbOK10
20ms296kbOK10
30ms292kbOK10
44ms328kbOK10
540ms424kbOK10
676ms432kbOK10
7Depăşit584kbTime limit exceeded.0
8Depăşit516kbTime limit exceeded.0
9Depăşit512kbTime limit exceeded.0
1080ms480kbOK10
Punctaj total70

Ceva nu functioneaza?