Pagini recente » Borderou de evaluare (job #227138) | Borderou de evaluare (job #344460) | Borderou de evaluare (job #2525711) | Borderou de evaluare (job #1461716) | Borderou de evaluare (job #1226268)
Borderou de evaluare (job #1226268)
Raport evaluator
Compilare:
user.cpp: In member function ‘HN& HN::operator+(const HN&)’:
user.cpp:29:6: warning: reference to local variable ‘temp’ returned [-Wreturn-local-addr]
HN temp;
^
user.cpp: In member function ‘HN& HN::operator*(const long long int&)’:
user.cpp:42:6: warning: reference to local variable ‘temp’ returned [-Wreturn-local-addr]
HN temp;
^
user.cpp: In member function ‘void HN::print()’:
user.cpp:61:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d", x[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:70:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d", &a, &b);
^
user.cpp:70:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:67:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort.in", "r", stdin);
^
user.cpp:68:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tort.out", "w", stdout);
^
user.cpp:70:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Wrong answer | 0 |
2 | 0ms | 296kb | Wrong answer | 0 |
3 | 0ms | 300kb | Wrong answer | 0 |
4 | 0ms | 296kb | Wrong answer | 0 |
5 | 0ms | 296kb | Wrong answer | 0 |
6 | 0ms | 296kb | Wrong answer | 0 |
7 | 0ms | 296kb | Wrong answer | 0 |
8 | 0ms | 300kb | Wrong answer | 0 |
9 | 0ms | 300kb | Wrong answer | 0 |
10 | 0ms | 296kb | Wrong answer | 0 |
11 | 0ms | 300kb | Wrong answer | 0 |
12 | 0ms | 296kb | Wrong answer | 0 |
13 | 0ms | 300kb | Wrong answer | 0 |
14 | 0ms | 300kb | Wrong answer | 0 |
15 | 0ms | 300kb | Wrong answer | 0 |
16 | 0ms | 296kb | Wrong answer | 0 |
17 | 0ms | 296kb | Wrong answer | 0 |
18 | 0ms | 300kb | Wrong answer | 0 |
19 | 0ms | 296kb | Wrong answer | 0 |
20 | 0ms | 300kb | Wrong answer | 0 |
Punctaj total | 0 |