Pagini recente » Borderou de evaluare (job #1388733) | Borderou de evaluare (job #1487530) | Borderou de evaluare (job #2153049) | Borderou de evaluare (job #1970379) | Borderou de evaluare (job #1374718)
Borderou de evaluare (job #1374718)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:12: warning: unused variable ‘x’ [-Wunused-variable]
int n, x, i, j;
^
user.cpp:12:38: warning: unused variable ‘ok’ [-Wunused-variable]
int max1 = 0, max2 = 0, len = 0, ok = 0;
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in", "r", stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out", "w", stdout);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp:32:14: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(v[i] == 1)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 248kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 20ms | 632kb | OK | 10 |
6 | 36ms | 1024kb | OK | 10 |
7 | 96ms | 2200kb | OK | 10 |
8 | 148ms | 3372kb | OK | 10 |
9 | 156ms | 3756kb | OK | 10 |
10 | 172ms | 4148kb | OK | 10 |
Punctaj total | 100 |