Pagini recente » Borderou de evaluare (job #1374990) | Borderou de evaluare (job #1526495) | Borderou de evaluare (job #839089) | Borderou de evaluare (job #19073) | Borderou de evaluare (job #1238814)
Borderou de evaluare (job #1238814)
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:73: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:74: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:80: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:83:5: warning: ‘r’ is used uninitialized in this function [-Wuninitialized]
if(r){
^
/tmp/ccUXyL4q.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 | 4192kb | Incorect | 0 |
2 | 4ms | 4192kb | Incorect | 0 |
3 | 4ms | 4184kb | OK | 10 |
4 | 4ms | 4196kb | OK | 10 |
5 | 8ms | 4220kb | Incorect | 0 |
6 | 20ms | 4288kb | Incorect | 0 |
7 | 48ms | 4440kb | Incorect | 0 |
8 | 108ms | 4836kb | Incorect | 0 |
9 | 152ms | 5064kb | Incorect | 0 |
10 | 172ms | 5160kb | Incorect | 0 |
Punctaj total | 20 |