Pagini recente » Borderou de evaluare (job #1566902) | Borderou de evaluare (job #2078710) | Borderou de evaluare (job #2002027) | Borderou de evaluare (job #2001575) | Borderou de evaluare (job #2402008)
Borderou de evaluare (job #2402008)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:27:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i; j < s.size(); j += i) s[j] = '1';
~~^~~~~~~~~~
main.cpp:31:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:34:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i+i; j < s.size(); j += i) if(s[j] == '1') s[i] = '0';
~~^~~~~~~~~~
main.cpp:39:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < s.size(); ++i) cout << s[i];
~~^~~~~~~~~~
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ciurulet.in", "r", stdin);
^
main.cpp:10:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ciurulet.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 2ms | 131kb | OK | 5 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | OK | 5 |
5 | 3ms | 131kb | Incorect | 0 |
6 | 4ms | 262kb | OK | 5 |
7 | 4ms | 262kb | Incorect | 0 |
8 | 5ms | 262kb | OK | 5 |
9 | 17ms | 520kb | Incorect | 0 |
10 | 27ms | 729kb | Incorect | 0 |
11 | 67ms | 1331kb | Incorect | 0 |
12 | 156ms | 2301kb | OK | 5 |
13 | 134ms | 2301kb | OK | 5 |
14 | 135ms | 2301kb | Incorect | 0 |
15 | 113ms | 2301kb | Incorect | 0 |
16 | 138ms | 2301kb | Incorect | 0 |
17 | 150ms | 2301kb | Incorect | 0 |
18 | 154ms | 2301kb | Incorect | 0 |
19 | 161ms | 2301kb | Incorect | 0 |
20 | 157ms | 2301kb | Incorect | 0 |
Punctaj total | 35 |