Pagini recente » Borderou de evaluare (job #1842478) | Borderou de evaluare (job #626166) | Borderou de evaluare (job #2509028) | Borderou de evaluare (job #327433) | Borderou de evaluare (job #2118157)
Borderou de evaluare (job #2118157)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:69: warning: operation on ‘NR’ may be undefined [-Wsequence-point]
Hash1[++NR] = (Hash1[NR - 1] * 2 + s[i] - '0') % MOD;
^
user.cpp:41:70: warning: operation on ‘NR’ may be undefined [-Wsequence-point]
Hash1[++NR] = (Hash1[NR - 1] * 10 + s[i] - '0') % MOD;
^
user.cpp:21:13: warning: unused variable ‘c’ [-Wunused-variable]
int c;
^
user.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);
^
user.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);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.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 | 372ms | 9968kb | OK | 10 | 10 |
2 | 372ms | 9992kb | OK | 10 | 10 |
3 | 396ms | 10452kb | OK | 10 | 10 |
4 | 396ms | 10444kb | OK | 10 | 10 |
5 | 180ms | 11816kb | OK | 10 | 20 |
6 | 152ms | 11900kb | OK | 10 |
7 | 164ms | 14524kb | OK | 10 | 20 |
8 | 140ms | 11924kb | OK | 10 |
9 | 132ms | 11996kb | OK | 10 | 20 |
10 | 164ms | 14964kb | OK | 10 |
Punctaj total | 100 |