Pagini recente » Borderou de evaluare (job #3121614) | Borderou de evaluare (job #2414238) | Atasamentele paginii Algoritmiada 2015 - Clasament | Borderou de evaluare (job #3130383) | Borderou de evaluare (job #2026815)
Borderou de evaluare (job #2026815)
Raport evaluator
Compilare:
user.cpp: In function ‘bool valid(unsigned int, unsigned int)’:
user.cpp:7:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= n; ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:22:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i <= n; ++i)
^
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tabara.in", "r", stdin);
^
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tabara.out", "w", stdout);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[n + 1]);
^
user.cpp:23:27: 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 | 0ms | 272kb | Esti baza! | 10 |
| 2 | 0ms | 264kb | Esti baza! | 10 |
| 3 | 0ms | 268kb | Esti baza! | 10 |
| 4 | 0ms | 268kb | Trist... | 0 |
| 5 | 8ms | 392kb | Trist... | 0 |
| 6 | 8ms | 388kb | Trist... | 0 |
| 7 | 4ms | 364kb | Trist... | 0 |
| 8 | 12ms | 464kb | Trist... | 0 |
| 9 | 12ms | 460kb | Trist... | 0 |
| 10 | 0ms | 264kb | Trist... | 0 |
| Punctaj total | 30 |