Pagini recente » Borderou de evaluare (job #2050286) | Borderou de evaluare (job #2825508) | Borderou de evaluare (job #2573565) | Borderou de evaluare (job #1509230) | Borderou de evaluare (job #1644441)
Borderou de evaluare (job #1644441)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:51: warning: unused variable ‘g’ [-Wunused-variable]
int k, n, i, st, dr, m, nrs=0, nrt=0, j, ans, g=0;
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("licenta.in", "r", stdin);
^
user.cpp:21:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("licenta.out", "w", stdout);
^
user.cpp:22:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:25:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &st, &dr);
^
user.cpp:32:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:34:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &st, &dr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 268kb | OK | 10 |
2 | 4ms | 268kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 8ms | 312kb | OK | 10 |
5 | 12ms | 268kb | OK | 10 |
6 | 92ms | 300kb | OK | 10 |
7 | 128ms | 300kb | OK | 10 |
8 | 116ms | 280kb | OK | 10 |
9 | 128ms | 300kb | OK | 10 |
10 | 112ms | 280kb | OK | 10 |
Punctaj total | 100 |