Pagini recente » Borderou de evaluare (job #1769283) | Borderou de evaluare (job #2109797) | Borderou de evaluare (job #1519343) | Borderou de evaluare (job #280724) | Borderou de evaluare (job #1380922)
Borderou de evaluare (job #1380922)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:69: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
stiva[++nr] = (stiva[nr - 1] * 2 + (sir[i] - '0')) % mod;
^
user.cpp:87:87: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
stiva[++nr] = ((long long)1LL * stiva[nr - 1] * 10 + (sir[i] - '0')) % mod;
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("twosets.in", "r", stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("twosets.out", "w", stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &T);
^
user.cpp:19:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
user.cpp:42:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/ccS8LaeF.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 0ms | 292kb | OK | 10 | 10 |
✗ | 2 | 0ms | 288kb | OK | 10 | 10 |
✗ | 3 | 32ms | 308kb | OK | 10 | 10 |
✗ | 4 | 28ms | 300kb | OK | 10 | 10 |
✗ | 5 | 76ms | 440kb | OK | 10 | 0 |
✓ | 6 | 60ms | 1756kb | Incorect | 0 |
✗ | 7 | 72ms | 3732kb | Incorect | 0 | 0 |
✗ | 8 | 84ms | 1056kb | OK | 10 |
✗ | 9 | 76ms | 1052kb | OK | 10 | 20 |
✗ | 10 | 88ms | 3480kb | OK | 10 |
Punctaj total | 60 |