Pagini recente » Borderou de evaluare (job #2168278) | Borderou de evaluare (job #2218590) | Borderou de evaluare (job #3170834) | Borderou de evaluare (job #2592760) | Borderou de evaluare (job #1873621)
Borderou de evaluare (job #1873621)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int functie(long long int)’:
user.cpp:12:21: warning: unused variable ‘step’ [-Wunused-variable]
long long cnt=0,step;
^
user.cpp:13:10: warning: unused variable ‘a’ [-Wunused-variable]
bool a=1;
^
user.cpp: In function ‘void functie2(long long int)’:
user.cpp:40: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/ccq6xdtS.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 |
1 | 0ms | 320kb | OK | 10 |
2 | 0ms | 616kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 312kb | OK | 10 |
5 | 12ms | 352kb | OK | 10 |
6 | 16ms | 396kb | OK | 10 |
7 | 24ms | 428kb | OK | 10 |
8 | 28ms | 456kb | OK | 10 |
9 | 28ms | 456kb | OK | 10 |
10 | 20ms | 460kb | OK | 10 |
Punctaj total | 100 |