Pagini recente » Borderou de evaluare (job #1280158) | Borderou de evaluare (job #669010) | Borderou de evaluare (job #3227011) | Borderou de evaluare (job #2043752) | Borderou de evaluare (job #1239220)
Borderou de evaluare (job #1239220)
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:63: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:64: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:70: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:73:5: warning: ‘r’ is used uninitialized in this function [-Wuninitialized]
if(r){
^
/tmp/cccx9CKe.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 | 4172kb | Incorect | 0 |
2 | 4ms | 4176kb | Incorect | 0 |
3 | 4ms | 4180kb | OK | 10 |
4 | 4ms | 4188kb | OK | 10 |
5 | 8ms | 4208kb | Incorect | 0 |
6 | 20ms | 4276kb | Incorect | 0 |
7 | 44ms | 4432kb | Incorect | 0 |
8 | 120ms | 4832kb | Incorect | 0 |
9 | 160ms | 5060kb | Incorect | 0 |
10 | 168ms | 5148kb | Incorect | 0 |
Punctaj total | 20 |