Pagini recente » Borderou de evaluare (job #1153054) | Borderou de evaluare (job #1145355) | Borderou de evaluare (job #562950) | Borderou de evaluare (job #409493) | Borderou de evaluare (job #1380938)
Borderou de evaluare (job #1380938)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:82: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
stiva[++nr].first = (stiva[nr - 1].first * 2 + (sir[i] - '0')) % mod1;
^
user.cpp:90: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:12: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:13: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:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &T);
^
user.cpp:21:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
user.cpp:45:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/cc0ROoFg.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 |