Pagini recente » Borderou de evaluare (job #879396) | Borderou de evaluare (job #1524288) | Borderou de evaluare (job #577268) | Borderou de evaluare (job #3214971) | Borderou de evaluare (job #1660700)
Borderou de evaluare (job #1660700)
Raport evaluator
Compilare:
user.cpp: In function ‘void upd(int, int, int, int&, int&)’:
user.cpp:32:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i >= a[cuv].size()) cost += abs('@' , b[j]);
^
user.cpp: In function ‘int main()’:
user.cpp:48:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.in","r",stdin);
^
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dist.out","w",stdout);
^
user.cpp:51:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); a.push_back(" ");
^
user.cpp:55:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); int pos = 0, np = 0; b = " ";
^
/tmp/ccA6qhDY.o: In function `main':
user.cpp:(.text.startup+0x5a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 936kb | OK! | 10 |
2 | 0ms | 940kb | Numar mutari gresit | 6 |
3 | 0ms | 936kb | Numar mutari gresit | 6 |
4 | 4ms | 940kb | OK! | 10 |
5 | 4ms | 932kb | OK! | 10 |
6 | 12ms | 940kb | OK! | 10 |
7 | 16ms | 940kb | OK! | 10 |
8 | 12ms | 944kb | OK! | 10 |
9 | 8ms | 940kb | OK! | 10 |
10 | 0ms | 936kb | OK! | 10 |
Punctaj total | 92 |