Pagini recente » Borderou de evaluare (job #1881315) | Borderou de evaluare (job #301683) | Borderou de evaluare (job #2710082) | Borderou de evaluare (job #1640490) | Borderou de evaluare (job #1240193)
Borderou de evaluare (job #1240193)
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 | 8364kb | Cool! | 10 |
2 | 24ms | 8360kb | Raspuns gresit | 0 |
3 | 40ms | 8376kb | Cool! | 10 |
4 | 48ms | 8380kb | Raspuns gresit | 0 |
5 | 44ms | 8376kb | Cool! | 10 |
6 | 60ms | 8380kb | Raspuns gresit | 0 |
7 | 72ms | 8392kb | Cool! | 10 |
8 | 64ms | 8384kb | Cool! | 10 |
9 | 88ms | 8392kb | Raspuns gresit | 0 |
10 | 72ms | 8392kb | Cool! | 10 |
Punctaj total | 60 |