Pagini recente » Borderou de evaluare (job #2711639) | Borderou de evaluare (job #1217061) | Borderou de evaluare (job #1105531) | Borderou de evaluare (job #469856) | Borderou de evaluare (job #1660698)
Borderou de evaluare (job #1660698)
Raport evaluator
Compilare:
user.cpp: In function ‘std::pair<int, int> compute(int, int, int)’:
user.cpp:60:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = limit; i < A[id].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:108:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = p1; i < B.size(); i++) from[i] = cnt;
^
user.cpp:115:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (A.size() != n) A.pb("");
^
user.cpp:81: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:82: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:85:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux + 1);
^
user.cpp:100:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(aux + 1);
^
/tmp/ccJz510L.o: In function `main':
user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 892kb | OK! | 10 |
2 | 12ms | 888kb | Distanta minima gresit | 0 |
3 | 4ms | 892kb | OK! | 10 |
4 | 28ms | 892kb | OK! | 10 |
5 | 20ms | 892kb | OK! | 10 |
6 | 60ms | 892kb | OK! | 10 |
7 | 88ms | 896kb | OK! | 10 |
8 | 56ms | 896kb | OK! | 10 |
9 | 52ms | 896kb | OK! | 10 |
10 | 0ms | 892kb | OK! | 10 |
Punctaj total | 90 |