Pagini recente » Borderou de evaluare (job #1686004) | Borderou de evaluare (job #2193126) | Borderou de evaluare (job #295777) | Borderou de evaluare (job #1545391) | Borderou de evaluare (job #1196527)
Borderou de evaluare (job #1196527)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:18: warning: variable ‘cmax’ set but not used [-Wunused-but-set-variable]
int i, N, M, cmax = 0, tx;
^
user.cpp:48:28: warning: variable ‘tx’ set but not used [-Wunused-but-set-variable]
int i, N, M, cmax = 0, tx;
^
user.cpp: In function ‘int solve2(int, int, int)’:
user.cpp:44:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:51:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.in", "r", stdin);
^
user.cpp:52:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("garaj.out", "w", stdout);
^
user.cpp:54: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:57:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x[i].C, &x[i].T);
^
user.cpp:74:43: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d", ret, solve2(ret, N, M));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 76ms | 1308kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 80ms | 1420kb | OK | 10 |
8 | 84ms | 1432kb | OK | 10 |
9 | 84ms | 1436kb | OK | 10 |
10 | 80ms | 1424kb | OK | 10 |
Punctaj total | 100 |