Pagini recente » Borderou de evaluare (job #243663) | Borderou de evaluare (job #1786927) | Borderou de evaluare (job #1786925) | Borderou de evaluare (job #1806281) | Borderou de evaluare (job #1198047)
Borderou de evaluare (job #1198047)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Sol.size(); ++i){
^
user.cpp:55:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(Sol[i] == Sol[i + 1] - m && i + 1 < Sol.size()){
^
user.cpp:28:9: warning: unused variable ‘nr2’ [-Wunused-variable]
int nr2 = 0;
^
user.cpp:37:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0;
^
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.in", "r", stdin);
^
user.cpp:30:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potriveala.out", "w", stdout);
^
user.cpp:31:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp:32:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/ccUso18F.o: In function `main':
user.cpp:(.text.startup+0x5f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 244kb | OK | 10 | 10 |
2 | 0ms | 236kb | OK | 10 | 10 |
3 | 0ms | 244kb | OK | 10 | 10 |
4 | 0ms | 252kb | OK | 10 | 10 |
5 | 0ms | 272kb | OK | 10 | 10 |
6 | 0ms | 292kb | OK | 10 | 10 |
7 | 0ms | 392kb | OK | 10 | 10 |
8 | 0ms | 440kb | OK | 10 | 30 |
9 | 0ms | 536kb | OK | 10 |
10 | 4ms | 728kb | OK | 10 |
Punctaj total | 100 |