Pagini recente » Borderou de evaluare (job #170921) | Borderou de evaluare (job #284993) | Borderou de evaluare (job #119918) | Borderou de evaluare (job #703936) | Borderou de evaluare (job #1382046)
Borderou de evaluare (job #1382046)
Raport evaluator
Compilare:
user.cpp: In function ‘int FindF(int)’:
user.cpp:13:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i < D.size();++i)
^
user.cpp: In function ‘int main()’:
user.cpp:49:17: warning: unused variable ‘p1’ [-Wunused-variable]
int p1 = FindL(b[i-1]);
^
user.cpp:50:17: warning: unused variable ‘p2’ [-Wunused-variable]
int p2 = FindL(b[i]);
^
user.cpp:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<D.size();++i)
^
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compunere.in","r",stdin);
^
user.cpp:34:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("compunere.out","w",stdout);
^
user.cpp:35:27: 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:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&a[i]);
^
user.cpp:41:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&b[i]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 0ms | 436kb | Incorect | 0 | 0 |
✓ | 2 | 0ms | 440kb | Incorect | 0 |
✗ | 3 | 8ms | 464kb | Incorect | 0 |
✓ | 4 | Depăşit | 984kb | Time limit exceeded. | 0 | 0 |
✗ | 5 | Depăşit | 1192kb | Time limit exceeded. | 0 | 0 |
✗ | 6 | Depăşit | 1392kb | Time limit exceeded. | 0 | 0 |
✗ | 7 | Depăşit | 1588kb | Time limit exceeded. | 0 |
✗ | 8 | Depăşit | 1584kb | Time limit exceeded. | 0 |
✗ | 9 | Depăşit | 1584kb | Time limit exceeded. | 0 |
✗ | 10 | Depăşit | 1592kb | Time limit exceeded. | 0 |
Punctaj total | 0 |