Pagini recente » Borderou de evaluare (job #2271274) | Borderou de evaluare (job #1487456) | Borderou de evaluare (job #677631) | Borderou de evaluare (job #2046156) | Borderou de evaluare (job #1725210)
Borderou de evaluare (job #1725210)
Raport evaluator
Compilare:
user.cpp: In function ‘int bs(std::vector<int>, int)’:
user.cpp:51:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(st==a.size()) return -1;
^
user.cpp: In function ‘int main()’:
user.cpp:57:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.in", "r", stdin);
^
user.cpp:58:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("potrivire.out", "w", stdout);
^
user.cpp:60:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:61:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); gets(b+1);
^
user.cpp:61:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); gets(b+1);
^
/tmp/ccUpavGa.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 10 |
2 | 0ms | 292kb | OK | 10 | 10 |
3 | 0ms | 308kb | Incorect | 0 | 0 |
4 | 0ms | 304kb | Incorect | 0 | 0 |
5 | 0ms | 376kb | Incorect | 0 | 0 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 280kb | Incorect | 0 |
8 | 0ms | 396kb | OK | 10 |
9 | 0ms | 396kb | Incorect | 0 |
10 | 0ms | 296kb | OK | 10 |
Punctaj total | 20 |