Pagini recente » Borderou de evaluare (job #1936845) | Borderou de evaluare (job #2122258) | Borderou de evaluare (job #2054874) | Borderou de evaluare (job #780212) | Borderou de evaluare (job #1660641)
Borderou de evaluare (job #1660641)
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, nb = 0; b = " ";
^
/tmp/ccVhOKnh.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 | 948kb | OK! | 10 |
2 | 0ms | 948kb | Numar mutari gresit | 6 |
3 | 0ms | 948kb | Distanta minima gresit | 0 |
4 | 4ms | 948kb | OK! | 10 |
5 | 0ms | 952kb | OK! | 10 |
6 | 8ms | 952kb | OK! | 10 |
7 | 12ms | 948kb | OK! | 10 |
8 | 8ms | 952kb | OK! | 10 |
9 | 4ms | 956kb | OK! | 10 |
10 | 0ms | 952kb | OK! | 10 |
Punctaj total | 86 |