Pagini recente » Borderou de evaluare (job #2795121) | Borderou de evaluare (job #1805219) | Borderou de evaluare (job #1638538) | Borderou de evaluare (job #1959317) | Borderou de evaluare (job #1239224)
Borderou de evaluare (job #1239224)
Raport evaluator
Compilare:
user.cpp: In member function ‘long long int& huge::operator%(long long int)’:
user.cpp:38:19: warning: reference to local variable ‘r’ returned [-Wreturn-local-addr]
long long r=0;
^
user.cpp: In function ‘int main()’:
user.cpp:64:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:71:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&d);
^
user.cpp: In member function ‘void huge::read()’:
user.cpp:25:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘int main()’:
user.cpp:74:5: warning: ‘r’ is used uninitialized in this function [-Wuninitialized]
if(r){
^
/tmp/ccd0VI3f.o: In function `main':
user.cpp:(.text.startup+0x74): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4184kb | Incorect | 0 |
2 | 4ms | 4180kb | Incorect | 0 |
3 | 4ms | 4184kb | OK | 10 |
4 | 4ms | 4196kb | OK | 10 |
5 | 8ms | 4212kb | Incorect | 0 |
6 | 20ms | 4280kb | Incorect | 0 |
7 | 48ms | 4436kb | Incorect | 0 |
8 | 108ms | 4836kb | Incorect | 0 |
9 | 144ms | 5060kb | Incorect | 0 |
10 | 176ms | 5152kb | Incorect | 0 |
Punctaj total | 20 |