Pagini recente » Borderou de evaluare (job #1708574) | Borderou de evaluare (job #1663949) | Borderou de evaluare (job #2277018) | Borderou de evaluare (job #3225238) | Borderou de evaluare (job #1713072)
Borderou de evaluare (job #1713072)
Raport evaluator
Compilare:
user.cpp: In function ‘bool solve(std::string)’:
user.cpp:9:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < s.size(); ++ i)
^
user.cpp:13:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cnt == 0 || cnt == s.size())
^
user.cpp:15:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cnt <= s.size() / 2)
^
user.cpp:16:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < s.size(); ++ i)
^
user.cpp:23:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < s.size() - 1; ++ i)
^
user.cpp:31:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < s.size(); ++ i)
^
user.cpp: In function ‘int main()’:
user.cpp:80:12: warning: unused variable ‘i’ [-Wunused-variable]
int t, i;
^
user.cpp:78:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("csir.in", "r", stdin);
^
user.cpp:79:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("csir.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 0ms | 440kb | Incorect | 0 |
4 | 20ms | 484kb | Incorect | 0 |
5 | 4ms | 540kb | OK | 10 |
6 | 44ms | 564kb | Incorect | 0 |
7 | 60ms | 544kb | Incorect | 0 |
8 | 32ms | 548kb | Incorect | 0 |
9 | 24ms | 528kb | Incorect | 0 |
10 | 48ms | 544kb | Incorect | 0 |
Punctaj total | 20 |