Pagini recente » Cod sursa (job #167174) | Borderou de evaluare (job #2607325) | Cod sursa (job #1163969) | Borderou de evaluare (job #2752286) | Borderou de evaluare (job #1932805)
Borderou de evaluare (job #1932805)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < v.size(); i++) {
^
user.cpp:22:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lss.in","r",stdin);
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lss.out","w",stdout);
^
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &k, &n); ans = n;
^
user.cpp:27:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 440kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 0ms | 436kb | OK | 10 |
| 4 | 0ms | 444kb | OK | 10 |
| 5 | 52ms | 912kb | OK | 10 |
| 6 | 36ms | 912kb | OK | 10 |
| 7 | 40ms | 912kb | OK | 10 |
| 8 | 48ms | 912kb | OK | 10 |
| 9 | 48ms | 912kb | OK | 10 |
| 10 | 48ms | 916kb | OK | 10 |
| Punctaj total | 100 |