Borderou de evaluare (job #1869839)

Utilizator NicusorTelescu Nicolae Nicusor Data 6 februarie 2017 10:49:01
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:76: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:77: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:78: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:81:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccsCPSmR.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
10ms296kbOK10
20ms296kbOK10
30ms300kbOK10
44ms332kbOK10
540ms428kbOK10
676ms436kbOK10
7Depăşit584kbTime limit exceeded.0
8Depăşit524kbTime limit exceeded.0
9Depăşit516kbTime limit exceeded.0
1080ms484kbOK10
Punctaj total70

Ceva nu functioneaza?