Borderou de evaluare (job #2308447)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:23: warning: operation on 'NR' may be undefined [-Wsequence-point]
Hash1[++NR] = (Hash1[NR - 1] * 2 + s[i] - '0') % MOD;
^~~~
main.cpp:41:23: warning: operation on 'NR' may be undefined [-Wsequence-point]
Hash1[++NR] = (Hash1[NR - 1] * 10 + s[i] - '0') % MOD;
^~~~
main.cpp:21:13: warning: unused variable 'c' [-Wunused-variable]
int c;
^
main.cpp:17:38: 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);
^
main.cpp:18:40: 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);
^
main.cpp:19:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:22:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
main.cpp:34:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 748ms | 16121kb | OK | 10 | 10 |
2 | 748ms | 16252kb | OK | 10 | 10 |
3 | 777ms | 17170kb | OK | 10 | 10 |
4 | 778ms | 17039kb | OK | 10 | 10 |
5 | 304ms | 20054kb | OK | 10 | 0 |
6 | 169ms | 20496kb | Memory limit exceeded | 0 |
7 | 71ms | 20496kb | Memory limit exceeded | 0 | 0 |
8 | 157ms | 20496kb | Memory limit exceeded | 0 |
9 | 146ms | 20496kb | Memory limit exceeded | 0 | 0 |
10 | 69ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 40 |