Pagini recente » Borderou de evaluare (job #3281303) | Borderou de evaluare (job #1186134) | Borderou de evaluare (job #959211) | Borderou de evaluare (job #2611312) | Borderou de evaluare (job #2273290)
Borderou de evaluare (job #2273290)
Raport evaluator
Compilare:
main.cpp: In function 'void eval(int&, int&)':
main.cpp:46:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size() - 1; ++i){
~~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("episoade.in", "r", stdin);
^
main.cpp:14:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("episoade.out", "w", stdout);
^
main.cpp:16:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s + 1);
^
main.cpp:17:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:22:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x), w[x] = i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 | 20 |
4 | 2ms | 131kb | OK | 10 |
5 | 3ms | 131kb | OK | 10 | 10 |
6 | 3ms | 131kb | OK | 10 | 10 |
7 | 3ms | 131kb | OK | 10 | 10 |
8 | 2ms | 131kb | OK | 10 | 10 |
9 | 3ms | 131kb | OK | 10 | 10 |
10 | 3ms | 131kb | OK | 10 | 10 |
Punctaj total | 100 |