Pagini recente » Borderou de evaluare (job #2860620) | Borderou de evaluare (job #916910) | Borderou de evaluare (job #401687) | Borderou de evaluare (job #1659133) | Borderou de evaluare (job #1472185)
Borderou de evaluare (job #1472185)
Raport evaluator
Compilare:
user.cpp: In function ‘bool check()’:
user.cpp:19:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<myset.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:40:57: warning: operation on ‘last’ may be undefined [-Wsequence-point]
st[++last] = (st[last-1]*2+a[i]-'0')%mod;
^
user.cpp:54:62: warning: operation on ‘last’ may be undefined [-Wsequence-point]
st[++last] = (1LL*st[last-1]*10+a[i]-'0')%mod;
^
user.cpp:27: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:28: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:30:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", a);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 284kb | OK | 10 | 10 |
| 2 | 0ms | 284kb | OK | 10 | 10 |
| 3 | 32ms | 300kb | OK | 10 | 10 |
| 4 | 32ms | 300kb | OK | 10 | 10 |
| 5 | 92ms | 468kb | OK | 10 | 20 |
| 6 | 84ms | 2076kb | OK | 10 |
| 7 | 104ms | 3916kb | OK | 10 | 20 |
| 8 | 92ms | 1228kb | OK | 10 |
| 9 | 92ms | 1228kb | OK | 10 | 20 |
| 10 | 108ms | 3576kb | OK | 10 |
| Punctaj total | 100 |