Pagini recente » Borderou de evaluare (job #2952907) | Borderou de evaluare (job #2878390) | Borderou de evaluare (job #499417) | Borderou de evaluare (job #579139) | Borderou de evaluare (job #1401048)
Borderou de evaluare (job #1401048)
Raport evaluator
Compilare:
user.cpp: In function ‘void print()’:
user.cpp:38:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i < cycle.size() && cycle[i] != -1)
^
user.cpp:41:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; i < cycle.size(); ++ i)
^
user.cpp:47:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 1; i < cycle.size(); ++ i)
^
user.cpp:34:12: warning: unused variable ‘mic’ [-Wunused-variable]
int i, mic, mare, first;
^
user.cpp:34:17: warning: unused variable ‘mare’ [-Wunused-variable]
int i, mic, mare, first;
^
user.cpp:34:23: warning: unused variable ‘first’ [-Wunused-variable]
int i, mic, mare, first;
^
user.cpp: In function ‘int main()’:
user.cpp:109:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < odd.size() - 1; i += 2)
^
user.cpp:92:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, count, a, b;
^
user.cpp:92:21: warning: unused variable ‘count’ [-Wunused-variable]
int n, m, i, j, count, a, b;
^
user.cpp:90:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.in", "r", stdin);
^
user.cpp:91:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.out", "w", stdout);
^
user.cpp:95:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:97:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2648kb | OK | 10 |
2 | 4ms | 2660kb | OK | 10 |
3 | 8ms | 3024kb | OK | 10 |
4 | 16ms | 3472kb | OK | 10 |
5 | 64ms | 6188kb | OK | 10 |
6 | 92ms | 6644kb | OK | 10 |
7 | 108ms | 7588kb | OK | 10 |
8 | 164ms | 9400kb | OK | 10 |
9 | 180ms | 10004kb | OK | 10 |
10 | 0ms | 2632kb | OK | 10 |
Punctaj total | 100 |