Pagini recente » Borderou de evaluare (job #2096147) | Borderou de evaluare (job #2676730) | Borderou de evaluare (job #1775643) | Borderou de evaluare (job #1737321) | Borderou de evaluare (job #1661415)
Borderou de evaluare (job #1661415)
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/cc2wxtSH.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 | 940kb | OK! | 10 |
2 | 0ms | 948kb | OK! | 10 |
3 | 0ms | 948kb | Numar mutari gresit | 6 |
4 | 4ms | 948kb | OK! | 10 |
5 | 4ms | 944kb | Numar mutari gresit | 6 |
6 | 12ms | 952kb | OK! | 10 |
7 | 20ms | 952kb | Distanta minima gresit | 0 |
8 | 12ms | 948kb | OK! | 10 |
9 | 8ms | 944kb | Numar mutari gresit | 6 |
10 | 0ms | 944kb | OK! | 10 |
Punctaj total | 78 |