Pagini recente » Borderou de evaluare (job #1313889) | Borderou de evaluare (job #398087) | Borderou de evaluare (job #1401383) | Borderou de evaluare (job #2415499) | Borderou de evaluare (job #1716243)
Borderou de evaluare (job #1716243)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:9: warning: unused variable ‘sc’ [-Wunused-variable]
int sc=a[i]-1;
^
user.cpp:8: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:9: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:10:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Esti baza! | 10 |
2 | 0ms | 268kb | Esti baza! | 10 |
3 | 0ms | 272kb | Esti baza! | 10 |
4 | 0ms | 268kb | Trist... | 0 |
5 | 8ms | 384kb | Trist... | 0 |
6 | 8ms | 388kb | Trist... | 0 |
7 | 8ms | 360kb | Trist... | 0 |
8 | 16ms | 460kb | Esti baza! | 10 |
9 | 16ms | 460kb | Trist... | 0 |
10 | 0ms | 272kb | Esti baza! | 10 |
Punctaj total | 50 |