Pagini recente » Borderou de evaluare (job #1160908) | Borderou de evaluare (job #503137) | Borderou de evaluare (job #132409) | Borderou de evaluare (job #2642251) | Borderou de evaluare (job #1747843)
Borderou de evaluare (job #1747843)
Raport evaluator
Compilare:
user.cpp: In member function ‘HugeN& HugeN::operator+(const HugeN&)’:
user.cpp:62:19: warning: statement has no effect [-Wunused-value]
temp.x[temp.x[0]];
^
user.cpp:49:11: warning: reference to local variable ‘temp’ returned [-Wreturn-local-addr]
HugeN temp;
^
user.cpp: In member function ‘HugeN& HugeN::operator-(const HugeN&)’:
user.cpp:68:15: warning: reference to local variable ‘temp’ returned [-Wreturn-local-addr]
HugeN temp;
^
user.cpp: In member function ‘int& HugeN::operator%(int)’:
user.cpp:92:9: warning: reference to local variable ‘r’ returned [-Wreturn-local-addr]
int i,r=0;
^
user.cpp: In function ‘int main()’:
user.cpp:108: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:109: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:111:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a);
^
user.cpp:112:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
^
user.cpp:115:10: warning: ‘r’ is used uninitialized in this function [-Wuninitialized]
m=n%d;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 900kb | Incorect | 0 |
2 | 0ms | 904kb | Incorect | 0 |
3 | 0ms | 900kb | Incorect | 0 |
4 | 0ms | 900kb | Incorect | 0 |
5 | 0ms | 904kb | Incorect | 0 |
6 | 0ms | 1004kb | Incorect | 0 |
7 | 4ms | 1032kb | Incorect | 0 |
8 | 8ms | 1036kb | Incorect | 0 |
9 | 12ms | 1268kb | Incorect | 0 |
10 | 12ms | 1276kb | Incorect | 0 |
Punctaj total | 0 |