Pagini recente » Borderou de evaluare (job #2268991) | Borderou de evaluare (job #1998850) | Borderou de evaluare (job #19714) | Borderou de evaluare (job #783875) | Borderou de evaluare (job #1469475)
Borderou de evaluare (job #1469475)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in", "r", stdin);
^
user.cpp:16:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out", "w", stdout);
^
user.cpp:17:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:18:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s, 6000003, stdin);
^
user.cpp:37:27: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d %d\n", d-k+1, d+1, rez);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 408kb | OK | 10 |
| 3 | 12ms | 908kb | OK | 10 |
| 4 | 12ms | 1004kb | OK | 10 |
| 5 | 20ms | 1248kb | OK | 10 |
| 6 | 24ms | 1440kb | OK | 10 |
| 7 | 36ms | 2224kb | OK | 10 |
| 8 | 56ms | 3200kb | OK | 10 |
| 9 | 76ms | 4188kb | OK | 10 |
| 10 | 100ms | 5160kb | OK | 10 |
| Punctaj total | 100 |