Pagini recente » Borderou de evaluare (job #980473) | Borderou de evaluare (job #2142989) | Borderou de evaluare (job #3305718) | Borderou de evaluare (job #1378110) | Borderou de evaluare (job #2677152)
Borderou de evaluare (job #2677152)
Raport evaluator
Compilare:
main.cpp: In function 'long long int Solve(unsigned int)':
main.cpp:106:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(p2 <= n && dif <= x) {
~~~~^~~~
main.cpp: In function 'int main()':
main.cpp:123:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in", "r", stdin);
^
main.cpp:124:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out", "w", stdout);
^
main.cpp:125:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &l, &u);
^
main.cpp:128:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 48ms | 16121kb | OK | 10 |
| 2 | 53ms | 16121kb | OK | 10 |
| 3 | 63ms | 16384kb | OK | 10 |
| 4 | 118ms | 17301kb | OK | 10 |
| 5 | 137ms | 17170kb | OK | 10 |
| 6 | 340ms | 20578kb | OK | 10 |
| 7 | 730ms | 22413kb | OK | 10 |
| 8 | 888ms | 22282kb | OK | 10 |
| 9 | 1553ms | 30539kb | OK | 10 |
| 10 | 1467ms | 35766kb | OK | 10 |
| Punctaj total | 100 |