Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #1240191)
Utilizator | Data | 10 octombrie 2014 17:48:22 | |
---|---|---|---|
Problema | PetSoft | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 90 |
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 | 8368kb | Cool! | 10 |
2 | 24ms | 8368kb | Cool! | 10 |
3 | 40ms | 8380kb | Cool! | 10 |
4 | 48ms | 8380kb | Cool! | 10 |
5 | 44ms | 8384kb | Cool! | 10 |
6 | 60ms | 8384kb | Cool! | 10 |
7 | 72ms | 8396kb | Cool! | 10 |
8 | 60ms | 8392kb | Cool! | 10 |
9 | 84ms | 8396kb | Raspuns gresit | 0 |
10 | 72ms | 8396kb | Cool! | 10 |
Punctaj total | 90 |
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !