Pagini recente » Borderou de evaluare (job #1966429) | Borderou de evaluare (job #1809097) | Borderou de evaluare (job #1922589) | Borderou de evaluare (job #367630) | Borderou de evaluare (job #1472249)
Borderou de evaluare (job #1472249)
Raport evaluator
Compilare:
user.cpp: In function ‘void operator+=(big&, big)’:
user.cpp:125:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (a.d.size() == i) a.d.push_back(0);
^
user.cpp: In function ‘big operator+(big, long long int)’:
user.cpp:142:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘big operator+=(big&, long long int)’:
user.cpp:146:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘void operator*=(big&, big)’:
user.cpp:164:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i + j == c.d.size()) c.d.push_back(0);
^
user.cpp: In function ‘int main()’:
user.cpp:209:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri2.in","r",stdin);
^
user.cpp:210:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri2.out","w",stdout);
^
user.cpp:211:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&ts);
^
user.cpp:216:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c+1);
^
user.cpp:225:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&sq);
^
/tmp/ccWWJP2E.o: In function `main':
user.cpp:(.text.startup+0xac): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 460kb | OK | 50 | 100 |
2 | 14980ms | 476kb | OK | 50 |
Punctaj total | 100 |