Pagini recente » Borderou de evaluare (job #1252728) | Borderou de evaluare (job #1484389) | Borderou de evaluare (job #1659691) | Borderou de evaluare (job #153527) | Borderou de evaluare (job #1486703)
Borderou de evaluare (job #1486703)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:26:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(d.size() == k)
^
user.cpp: In function ‘void read()’:
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.in", "r", stdin);
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("par.out", "w", stdout);
^
user.cpp:15:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cc4VXTQ7.o: In function `read()':
user.cpp:(.text+0x61): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 276kb | OK | 10 | 20 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | Incorect | 0 | 0 |
| 4 | 0ms | 272kb | Incorect | 0 | 0 |
| 5 | 0ms | 272kb | Incorect | 0 | 0 |
| 6 | 0ms | 272kb | Incorect | 0 | 0 |
| 7 | 0ms | 272kb | Incorect | 0 | 0 |
| 8 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 9 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
| 10 | 0ms | 280kb | Incorect | 0 | 0 |
| Punctaj total | 20 |