Pagini recente » Cod sursa (job #3002416) | Borderou de evaluare (job #2487101) | Borderou de evaluare (job #2016557) | Cod sursa (job #3207703) | Borderou de evaluare (job #2689916)
Borderou de evaluare (job #2689916)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:4:50: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FL(nm) do { freopen(nm ".in", "r", stdin); freopen(nm ".out", "w", stdout); } while (false)
^
main.cpp:8:5: note: in expansion of macro 'FL'
FL("bursa");
^~
main.cpp:4:83: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FL(nm) do { freopen(nm ".in", "r", stdin); freopen(nm ".out", "w", stdout); } while (false)
^
main.cpp:8:5: note: in expansion of macro 'FL'
FL("bursa");
^~
main.cpp:14:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%llu", &n, &s);
^
main.cpp:18:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
ull p; scanf("%llu", &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 100 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 |
6 | 5ms | 131kb | OK | 10 |
7 | 6ms | 131kb | OK | 10 |
8 | 35ms | 131kb | OK | 10 |
9 | 26ms | 131kb | OK | 10 |
10 | 26ms | 131kb | OK | 10 |
Punctaj total | 100 |