Pagini recente » Borderou de evaluare (job #2359369) | Borderou de evaluare (job #3226659) | Borderou de evaluare (job #72640) | Borderou de evaluare (job #368988) | Borderou de evaluare (job #1380940)
Borderou de evaluare (job #1380940)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:82: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
stiva[++nr].first = (stiva[nr - 1].first * 2 + (sir[i] - '0')) % mod1;
^
user.cpp:91:100: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
stiva[++nr].first = ((long long)1LL * stiva[nr - 1].first * 10 + (sir[i] - '0')) % mod1;
^
user.cpp:13: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:14: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:16:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &T);
^
user.cpp:22:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
user.cpp:46:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/ccpjryGo.o: In function `main':
user.cpp:(.text.startup+0x98): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 28ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 2 | 28ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 3 | 28ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 4 | 28ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 5 | 28ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✓ | 6 | 28ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 7 | 28ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 8 | 28ms | Depăşit | Memory limit exceeded. | 0 |
✗ | 9 | 28ms | Depăşit | Memory limit exceeded. | 0 | 0 |
✗ | 10 | 28ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |