Pagini recente » Borderou de evaluare (job #1909483) | Borderou de evaluare (job #2717474) | Borderou de evaluare (job #1569789) | Borderou de evaluare (job #1464727) | Borderou de evaluare (job #1240185)
Borderou de evaluare (job #1240185)
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:98: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:99: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:102:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:105: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 | 8ms | 4412kb | Cool! | 10 |
2 | 12ms | 4416kb | Raspuns gresit | 0 |
3 | 20ms | 4428kb | Raspuns gresit | 0 |
4 | 28ms | 4428kb | Raspuns gresit | 0 |
5 | 24ms | 4428kb | Raspuns gresit | 0 |
6 | 32ms | 4428kb | Raspuns gresit | 0 |
7 | 40ms | 4432kb | Raspuns gresit | 0 |
8 | 32ms | 4432kb | Raspuns gresit | 0 |
9 | 48ms | 4432kb | Raspuns gresit | 0 |
10 | 40ms | 4432kb | Cool! | 10 |
Punctaj total | 20 |