Pagini recente » Borderou de evaluare (job #1068103) | Borderou de evaluare (job #1660706)
Borderou de evaluare (job #1660706)
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/ccUkBZQr.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 | 896kb | OK! | 10 |
2 | 12ms | 900kb | OK! | 10 |
3 | 4ms | 900kb | OK! | 10 |
4 | 28ms | 900kb | OK! | 10 |
5 | 20ms | 900kb | OK! | 10 |
6 | 60ms | 900kb | OK! | 10 |
7 | 88ms | 900kb | OK! | 10 |
8 | 56ms | 900kb | OK! | 10 |
9 | 52ms | 904kb | OK! | 10 |
10 | 0ms | 900kb | OK! | 10 |
Punctaj total | 100 |