Pagini recente » Borderou de evaluare (job #2055748) | Borderou de evaluare (job #1907993) | Borderou de evaluare (job #1192227) | Borderou de evaluare (job #940043) | Borderou de evaluare (job #1661432)
Borderou de evaluare (job #1661432)
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/ccRz5FVm.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 944kb | OK! | 10 |
2 | 0ms | 940kb | OK! | 10 |
3 | 0ms | 944kb | Numar mutari gresit | 6 |
4 | 4ms | 948kb | Numar mutari gresit | 6 |
5 | 4ms | 944kb | Numar mutari gresit | 6 |
6 | 12ms | 948kb | OK! | 10 |
7 | 16ms | 948kb | Numar mutari gresit | 6 |
8 | 12ms | 948kb | Numar mutari gresit | 6 |
9 | 8ms | 952kb | Numar mutari gresit | 6 |
10 | 0ms | 940kb | OK! | 10 |
Punctaj total | 76 |