Pagini recente » Borderou de evaluare (job #2362020) | Cod sursa (job #2809395) | Borderou de evaluare (job #1961937) | Borderou de evaluare (job #221921) | Borderou de evaluare (job #1240192)
Borderou de evaluare (job #1240192)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:53:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < P.size(); i++)
^
user.cpp:56:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(d = 1; d < P.size(); d++)
^
user.cpp:57:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i + d < P.size(); i++) {
^
user.cpp:71:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < P.size(); i++)
^
user.cpp:74:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(d = 1; d < P.size(); d++)
^
user.cpp:75:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i + d < P.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:96:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inputFile.c_str(), "r", stdin);
^
user.cpp:97:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outputFile.c_str(), "w", stdout);
^
user.cpp:100:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:103:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 8356kb | Cool! | 10 |
2 | 24ms | 8364kb | Cool! | 10 |
3 | 40ms | 8380kb | Cool! | 10 |
4 | 52ms | 8380kb | Cool! | 10 |
5 | 44ms | 8380kb | Cool! | 10 |
6 | 60ms | 8384kb | Cool! | 10 |
7 | 72ms | 8388kb | Cool! | 10 |
8 | 64ms | 8384kb | Cool! | 10 |
9 | 88ms | 8392kb | Raspuns gresit | 0 |
10 | 76ms | 8396kb | Cool! | 10 |
Punctaj total | 90 |