Pagini recente » Borderou de evaluare (job #1735788) | Borderou de evaluare (job #1194959) | Borderou de evaluare (job #2714494) | Borderou de evaluare (job #33866) | Borderou de evaluare (job #1703603)
Borderou de evaluare (job #1703603)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read(int, bool)’:
user.cpp:31:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d\n", &cnt, &j, &k), aint[nod].a[j][k] ++;
^
user.cpp: In function ‘int main()’:
user.cpp:80:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("namlei.in", "r", stdin);
^
user.cpp:81:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("namlei.out", "w", stdout);
^
user.cpp:83:82: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d %d", &N, &K, &X, &Y), X %= K, Y %= K, mod = 997, Build (1, 1, N);
^
user.cpp:87:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c\n", &type);
^
user.cpp:92:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &pos), pos ++, Update (1, 1, N, pos);
^
user.cpp:96:73: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d %d\n", &i, &x, &j, &y), i ++, Query (1, 1, N, i, j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 512kb | OK | 10 |
2 | 20ms | 512kb | OK | 10 |
3 | 76ms | 8644kb | OK | 10 |
4 | 112ms | 8648kb | OK | 10 |
5 | 264ms | 16840kb | OK | 10 |
6 | 88ms | 16840kb | OK | 10 |
7 | 72ms | 4552kb | OK | 10 |
8 | 104ms | 16836kb | OK | 10 |
9 | 68ms | 8648kb | OK | 10 |
10 | 296ms | 16840kb | OK | 10 |
Punctaj total | 100 |